diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/varasm.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b02dbcd..f81896b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2006-09-21 Richard Sandiford <richard@codesourcery.com> + + * varasm.c (copy_constant): Fix reversed gcc_assert check. + 2006-09-21 Janis Johnson <janis187@us.ibm.com> * ginclude/decfloat.h (DEC*_DEN): Define using the correct builtins. diff --git a/gcc/varasm.c b/gcc/varasm.c index 3091132..c45a0f7 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -2749,7 +2749,7 @@ copy_constant (tree exp) { tree t = lang_hooks.expand_constant (exp); - gcc_assert (t == exp); + gcc_assert (t != exp); return copy_constant (t); } } |