This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/35431] New: [4.1/4.2/4.3/4.4 regression] ICE with complex data
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2008 20:08:58 -0000
- Subject: [Bug tree-optimization/35431] New: [4.1/4.2/4.3/4.4 regression] ICE with complex data
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following valid code snippet triggers an ICE since GCC 4.1.0 when compiled
with "-O2":
================================
void bar();
void foo(int i)
{
__complex__ int k = 0;
if (i)
k = 1;
for (i = 0; i < 1; ++i)
;
if (k)
bar();
}
================================
bug.c: In function 'foo':
bug.c:4: internal compiler error: tree check: expected value_handle, have
ssa_name in bitmap_set_contains_value, at tree-ssa-pre.c:744
Please submit a full bug report, [etc.]
--
Summary: [4.1/4.2/4.3/4.4 regression] ICE with complex data
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P3
Component: tree-optimization
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=35431