[Bug middle-end/27428] [4.0/4.1/4.2 regression] ICE with goto in erroneous code
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri May 5 08:32:00 GMT 2006
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-05 08:32 -------
Comment out two lines in the gimplifier like:
Index: gimplify.c
===================================================================
--- gimplify.c (revision 113452)
+++ gimplify.c (working copy)
@@ -5655,8 +5655,8 @@ gimplify_expr (tree *expr_p, tree *pre_p
stub out the statement or propagate the error back out. */
if (ret == GS_ERROR)
{
- if (is_statement)
- *expr_p = NULL;
+ // if (is_statement)
+// *expr_p = NULL;
goto out;
}
Works but I don't know if there is any fall out from that because it is going
to be some.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27428
More information about the Gcc-bugs
mailing list