[Bug middle-end/37788] New: [4.4 regression] ICE with variable declaration in loop and -fmudflap
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Oct 9 20:38:00 GMT 2008
The following valid code snippet triggers an ICE on mainline when compiled
with "-fmudflap -O -g":
==================
struct A
{
A();
};
void foo()
{
while (true)
A a;
}
==================
bug.cc: In function 'void foo()':
bug.cc:10: internal compiler error: tree check: expected block, have
function_decl in change_scope, at cfglayout.c:420
Please submit a full bug report, [etc.]
This is a recent regression, introduced between 2008-09-29 and 2008-10-08.
--
Summary: [4.4 regression] ICE with variable declaration in loop
and -fmudflap
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37788
More information about the Gcc-bugs
mailing list