--- Comment #5 from sayle at gcc dot gnu dot org 2006-06-29 21:58 ---
Subject: Bug 27428
Author: sayle
Date: Thu Jun 29 21:57:23 2006
New Revision: 115080
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115080
Log:
PR middle-end/27428
* c-lex.c (c_lex_with_flags)
--- Comment #4 from mmitchel at gcc dot gnu dot org 2006-06-04 18:47
---
Why gimplify at all if an error has occurred?
--
mmitchel at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-05-29 22:21 ---
(In reply to comment #2)
> Works but I don't know if there is any fall out from that because it is going
> to be some.
There a large number of falls out from that patch.
--
http://gcc.gnu.org/bugzilla/show_bug.c
--- 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
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-05 08:19 ---
In .orginal:
goto L;
if (<<< error >>>)
{
L:;
}
In ,gimple:
foo ()
{
void L = <<< error >>>;
goto L;
}
We really should keep the if (error_mark_node)
Confirmed.
--
pinskia at gcc dot gn
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27428