varasm.c (copy_constant): Fix reversed gcc_assert check.

gcc/
	* varasm.c (copy_constant): Fix reversed gcc_assert check.

From-SVN: r117121
This commit is contained in:
Richard Sandiford 2006-09-21 21:52:23 +00:00 committed by Richard Sandiford
parent a1adedd03b
commit 2801ed8e2f
2 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -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);
}
}