public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/35737]  New: [4.3/4.3/4.4 regression] ICE with __builtin_setjmp and complex variable
@ 2008-03-28 18:30 reichelt at gcc dot gnu dot org
  2008-03-28 18:30 ` [Bug tree-optimization/35737] " reichelt at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-03-28 18:30 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-04-29 15:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-28 18:30 [Bug tree-optimization/35737] New: [4.3/4.3/4.4 regression] ICE with __builtin_setjmp and complex variable reichelt at gcc dot gnu dot org
2008-03-28 18:30 ` [Bug tree-optimization/35737] " reichelt at gcc dot gnu dot org
2008-03-30  0:25 ` [Bug tree-optimization/35737] [4.2/4.3/4.4 " pinskia at gcc dot gnu dot org
2008-03-30  0:31 ` pinskia at gcc dot gnu dot org
2008-04-15  9:37 ` jakub at gcc dot gnu dot org
2008-05-19 20:35 ` jsm28 at gcc dot gnu dot org
2008-09-30 22:45 ` rth at gcc dot gnu dot org
2008-10-01 14:30 ` rth at gcc dot gnu dot org
2008-10-01 14:33 ` rth at gcc dot gnu dot org
2008-10-01 14:44 ` rth at gcc dot gnu dot org
2009-04-29 15:19 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).