[Bug middle-end/32935] [4.3 Regression] internal compiler error: in emit_move_insn, at expr.c:3316
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jul 30 14:05:00 GMT 2007
------- Comment #6 from pinskia at gcc dot gnu dot org 2007-07-30 14:05 -------
And here is a patch which fixes the ICE:
Index: fold-const.c
===================================================================
--- fold-const.c (revision 127042)
+++ fold-const.c (working copy)
@@ -1382,7 +1382,7 @@
{
tem = strip_float_extensions (t);
if (tem != t && negate_expr_p (tem))
- return negate_expr (tem);
+ return fold_convert (type, negate_expr (tem));
}
break;
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|fortran |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32935
More information about the Gcc-bugs
mailing list