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



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.2.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35737


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

* [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

* [Bug tree-optimization/35737] [4.2/4.3/4.4 regression] ICE with __builtin_setjmp and complex variable
  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 ` pinskia at gcc dot gnu dot org
  2008-03-30  0:31 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-03-30  0:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-03-30 00:24 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-03-30 00:24:46
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35737


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

* [Bug tree-optimization/35737] [4.2/4.3/4.4 regression] ICE with __builtin_setjmp and complex variable
  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
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-03-30  0:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-03-30 00:30 -------
Complex lowering is creating phi's with constant arguments on abnormal edges.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35737


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

* [Bug tree-optimization/35737] [4.2/4.3/4.4 regression] ICE with __builtin_setjmp and complex variable
  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
                   ` (2 preceding siblings ...)
  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
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-04-15  9:37 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35737


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

* [Bug tree-optimization/35737] [4.2/4.3/4.4 regression] ICE with __builtin_setjmp and complex variable
  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
                   ` (3 preceding siblings ...)
  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
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-05-19 20:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jsm28 at gcc dot gnu dot org  2008-05-19 20:25 -------
4.2.4 is being released, changing milestones to 4.2.5.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.4                       |4.2.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35737


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

* [Bug tree-optimization/35737] [4.2/4.3/4.4 regression] ICE with __builtin_setjmp and complex variable
  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
                   ` (4 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2008-09-30 22:45 UTC (permalink / raw)
  To: gcc-bugs



-- 

rth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-03-30 00:24:46         |2008-09-30 22:44:29
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35737


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

* [Bug tree-optimization/35737] [4.2/4.3/4.4 regression] ICE with __builtin_setjmp and complex variable
  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
                   ` (5 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2008-10-01 14:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rth at gcc dot gnu dot org  2008-10-01 14:29 -------
Subject: Bug 35737

Author: rth
Date: Wed Oct  1 14:28:04 2008
New Revision: 140812

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140812
Log:
        PR tree-opt/35737
        * tree-complex.c (set_component_ssa_name): Don't optimize
        is_gimple_min_invariant values with ssa_names in abnormal phis.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/complex-6.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-complex.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35737


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

* [Bug tree-optimization/35737] [4.2/4.3/4.4 regression] ICE with __builtin_setjmp and complex variable
  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
                   ` (6 preceding siblings ...)
  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
  9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2008-10-01 14:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rth at gcc dot gnu dot org  2008-10-01 14:32 -------
Subject: Bug 35737

Author: rth
Date: Wed Oct  1 14:30:37 2008
New Revision: 140813

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140813
Log:
        PR tree-opt/35737
        * tree-complex.c (set_component_ssa_name): Don't optimize
        is_gimple_min_invariant values with ssa_names in abnormal phis.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/compile/complex-6.c
      - copied unchanged from r140812,
trunk/gcc/testsuite/gcc.c-torture/compile/complex-6.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/tree-complex.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35737


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

* [Bug tree-optimization/35737] [4.2/4.3/4.4 regression] ICE with __builtin_setjmp and complex variable
  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
                   ` (7 preceding siblings ...)
  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
  9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2008-10-01 14:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rth at gcc dot gnu dot org  2008-10-01 14:42 -------
Fixed.


-- 

rth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35737


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

* [Bug tree-optimization/35737] [4.2/4.3/4.4 regression] ICE with __builtin_setjmp and complex variable
  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
                   ` (8 preceding siblings ...)
  2008-10-01 14:44 ` rth at gcc dot gnu dot org
@ 2009-04-29 15:19 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-29 15:19 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.5                       |4.3.3


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).