summaryrefslogtreecommitdiff
path: root/gcc/convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/convert.c')
-rw-r--r--gcc/convert.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/convert.c b/gcc/convert.c
index 11d84921849..771401ead2d 100644
--- a/gcc/convert.c
+++ b/gcc/convert.c
@@ -1,6 +1,7 @@
/* Utility routines for data type conversion for GCC.
Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1997, 1998,
- 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+ 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
+ Free Software Foundation, Inc.
This file is part of GCC.
@@ -47,7 +48,7 @@ convert_to_pointer (tree type, tree expr)
/* Propagate overflow to the NULL pointer. */
if (integer_zerop (expr))
return force_fit_type_double (type, 0, 0, 0, TREE_OVERFLOW (expr),
- TREE_CONSTANT_OVERFLOW (expr));
+ false);
switch (TREE_CODE (TREE_TYPE (expr)))
{