This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/35737] New: [4.3/4.3/4.4 regression] ICE with __builtin_setjmp and complex variable
- 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: 28 Mar 2008 18:29:48 -0000
- Subject: [Bug tree-optimization/35737] New: [4.3/4.3/4.4 regression] ICE with __builtin_setjmp and complex variable
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following valid code snippet triggers an ICE since GCC 4.2.0
when compiled with "-O":
=========================================
#include <setjmp.h>
jmp_buf buf;
int foo()
{
__complex__ int i = 0;
if (__builtin_setjmp(buf))
{
i = 1;
bar();
}
return i == 0;
}
=========================================
Corrupt SSA across abnormal edge BB2->BB7
Argument 0 (0) is not an SSA_NAME.
bug.c: In function 'foo':
bug.c:6: internal compiler error: SSA corruption
Please submit a full bug report, [etc.]
Maybe related to PR35314.
--
Summary: [4.3/4.3/4.4 regression] ICE with __builtin_setjmp and
complex variable
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=35737