public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/41643]  New: ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce
@ 2009-10-09  9:58 kenneth dot hoste at elis dot ugent dot be
  2009-10-09  9:59 ` [Bug c/41643] " kenneth dot hoste at elis dot ugent dot be
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: kenneth dot hoste at elis dot ugent dot be @ 2009-10-09  9:58 UTC (permalink / raw)
  To: gcc-bugs

Using -fno-tree-dce in combination with any of -O2/-O3/-Os causes GCC 4.4.1 to
segfault when compiling the 176.gcc benchmark, more specifically when compiling
the combine.c source file. The same occurs when using -O1 -fno-tree-dce
-foptimize-sibling-calls.

combine.c:7182: internal compiler error: Segmentation fault

A reduced test case for this issue is attached.


-- 
           Summary: ICE (segmentation fault) for SPEC CPU2000's 176.gcc when
                    using -fno-tree-dce
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kenneth dot hoste at elis dot ugent dot be
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

* [Bug c/41643] ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce
  2009-10-09  9:58 [Bug c/41643] New: ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce kenneth dot hoste at elis dot ugent dot be
@ 2009-10-09  9:59 ` kenneth dot hoste at elis dot ugent dot be
  2009-10-09 10:49 ` [Bug tree-optimization/41643] " rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: kenneth dot hoste at elis dot ugent dot be @ 2009-10-09  9:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from kenneth dot hoste at elis dot ugent dot be  2009-10-09 09:58 -------
Created an attachment (id=18759)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18759&action=view)
reduced testcase for this bug


-- 


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


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

* [Bug tree-optimization/41643] ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce
  2009-10-09  9:58 [Bug c/41643] New: ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce kenneth dot hoste at elis dot ugent dot be
  2009-10-09  9:59 ` [Bug c/41643] " kenneth dot hoste at elis dot ugent dot be
@ 2009-10-09 10:49 ` rguenth at gcc dot gnu dot org
  2009-11-04 16:01 ` [Bug tree-optimization/41643] [4.4 Regression] " rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-09 10:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-10-09 10:49 -------
Doesn't happen on trunk.  But, confirmed.

../../gcc44-g/gcc/cc1 -quiet bug.i -O2 -fno-tree-dce
bug.i: In function 'f':
bug.i:5: error: missing PHI def
add_acc.0_10 = PHI <0(0), (5)>

bug.i:5: error: missing PHI def
x_8 = PHI <x_13(D)(0), (5)>

bug.i:5: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

After the tail-recursion pass.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.4.1
      Known to work|                            |4.5.0
   Last reconfirmed|0000-00-00 00:00:00         |2009-10-09 10:49:19
               date|                            |


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


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

* [Bug tree-optimization/41643] [4.4 Regression] ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce
  2009-10-09  9:58 [Bug c/41643] New: ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce kenneth dot hoste at elis dot ugent dot be
  2009-10-09  9:59 ` [Bug c/41643] " kenneth dot hoste at elis dot ugent dot be
  2009-10-09 10:49 ` [Bug tree-optimization/41643] " rguenth at gcc dot gnu dot org
@ 2009-11-04 16:01 ` rguenth at gcc dot gnu dot org
  2009-11-07 15:00 ` jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-11-04 16:01 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|4.5.0                       |4.3.4 4.5.0
            Summary|ICE (segmentation fault) for|[4.4 Regression] ICE
                   |SPEC CPU2000's 176.gcc when |(segmentation fault) for
                   |using -fno-tree-dce         |SPEC CPU2000's 176.gcc when
                   |                            |using -fno-tree-dce
   Target Milestone|---                         |4.4.3


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


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

* [Bug tree-optimization/41643] [4.4 Regression] ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce
  2009-10-09  9:58 [Bug c/41643] New: ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce kenneth dot hoste at elis dot ugent dot be
                   ` (2 preceding siblings ...)
  2009-11-04 16:01 ` [Bug tree-optimization/41643] [4.4 Regression] " rguenth at gcc dot gnu dot org
@ 2009-11-07 15:00 ` jakub at gcc dot gnu dot org
  2009-11-07 17:40 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-11-07 15:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2009-11-07 15:00 -------
Fixed by r145494, testing a backport.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2009-10-09 10:49:19         |2009-11-07 15:00:07
               date|                            |


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


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

* [Bug tree-optimization/41643] [4.4 Regression] ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce
  2009-10-09  9:58 [Bug c/41643] New: ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce kenneth dot hoste at elis dot ugent dot be
                   ` (3 preceding siblings ...)
  2009-11-07 15:00 ` jakub at gcc dot gnu dot org
@ 2009-11-07 17:40 ` jakub at gcc dot gnu dot org
  2009-11-07 17:41 ` jakub at gcc dot gnu dot org
  2009-11-07 17:42 ` jakub at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-11-07 17:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2009-11-07 17:40 -------
Subject: Bug 41643

Author: jakub
Date: Sat Nov  7 17:39:48 2009
New Revision: 153996

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153996
Log:
        PR tree-optimization/41643
        Backport from mainline
        2009-04-03  Richard Guenther  <rguenther@suse.de>

        * tree-tailcall.c (tree_optimize_tail_calls_1): Also split the
        edge from the entry block if we have degenerate PHI nodes in
        the first basic block.

        * gcc.dg/pr41643.c: New test.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr41643.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_4-branch/gcc/tree-tailcall.c


-- 


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


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

* [Bug tree-optimization/41643] [4.4 Regression] ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce
  2009-10-09  9:58 [Bug c/41643] New: ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce kenneth dot hoste at elis dot ugent dot be
                   ` (4 preceding siblings ...)
  2009-11-07 17:40 ` jakub at gcc dot gnu dot org
@ 2009-11-07 17:41 ` jakub at gcc dot gnu dot org
  2009-11-07 17:42 ` jakub at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-11-07 17:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jakub at gcc dot gnu dot org  2009-11-07 17:41 -------
Subject: Bug 41643

Author: jakub
Date: Sat Nov  7 17:41:07 2009
New Revision: 153997

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153997
Log:
        PR tree-optimization/41643
        * gcc.dg/pr41643.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr41643.c
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug tree-optimization/41643] [4.4 Regression] ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce
  2009-10-09  9:58 [Bug c/41643] New: ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce kenneth dot hoste at elis dot ugent dot be
                   ` (5 preceding siblings ...)
  2009-11-07 17:41 ` jakub at gcc dot gnu dot org
@ 2009-11-07 17:42 ` jakub at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-11-07 17:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jakub at gcc dot gnu dot org  2009-11-07 17:41 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2009-11-07 17:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-09  9:58 [Bug c/41643] New: ICE (segmentation fault) for SPEC CPU2000's 176.gcc when using -fno-tree-dce kenneth dot hoste at elis dot ugent dot be
2009-10-09  9:59 ` [Bug c/41643] " kenneth dot hoste at elis dot ugent dot be
2009-10-09 10:49 ` [Bug tree-optimization/41643] " rguenth at gcc dot gnu dot org
2009-11-04 16:01 ` [Bug tree-optimization/41643] [4.4 Regression] " rguenth at gcc dot gnu dot org
2009-11-07 15:00 ` jakub at gcc dot gnu dot org
2009-11-07 17:40 ` jakub at gcc dot gnu dot org
2009-11-07 17:41 ` jakub at gcc dot gnu dot org
2009-11-07 17:42 ` jakub 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).