public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/40991] ICE: at optimization -02
  2009-08-06 18:09 [Bug c++/40991] New: ICE: at optimization -02 bkoz at gcc dot gnu dot org
@ 2009-08-06 18:09 ` bkoz at gcc dot gnu dot org
  2009-08-07 12:14 ` [Bug tree-optimization/40991] [4.5 Regression] " rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2009-08-06 18:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bkoz at gcc dot gnu dot org  2009-08-06 18:09 -------
Created an attachment (id=18313)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18313&action=view)
pre-processed sources to reproduce


-- 


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


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

* [Bug c++/40991]  New: ICE: at optimization -02
@ 2009-08-06 18:09 bkoz at gcc dot gnu dot org
  2009-08-06 18:09 ` [Bug c++/40991] " bkoz at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2009-08-06 18:09 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1872 bytes --]

The following gives:

%/mnt/share/bld/gcc/./gcc/g++ -shared-libgcc -B/mnt/share/bld/gcc/./gcc
-nostdinc++ -L/mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/mnt/share/bld/H-x86-gcc/x86_64-unknown-linux-gnu/bin/
-B/mnt/share/bld/H-x86-gcc/x86_64-unknown-linux-gnu/lib/ -isystem
/mnt/share/bld/H-x86-gcc/x86_64-unknown-linux-gnu/include -isystem
/mnt/share/bld/H-x86-gcc/x86_64-unknown-linux-gnu/sys-include -g -O2
-D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2
-D_GNU_SOURCE -g -O2 -D_GNU_SOURCE -DLOCALEDIR="." -nostdinc++
-I/mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/mnt/share/src/gcc/libstdc++-v3/libsupc++
-I/mnt/share/src/gcc/libstdc++-v3/include/backward
-I/mnt/share/src/gcc/libstdc++-v3/testsuite/util
/mnt/share/src/gcc/libstdc++-v3/testsuite/tr1/3_function_objects/function/5.cc
-include bits/stdc++.h ./libtestc++.a -Wl,--gc-sections -c -lm -o ./5.exe
/mnt/share/src/gcc/libstdc++-v3/testsuite/tr1/3_function_objects/function/5.cc:
In function ‘void test05()’:
/mnt/share/src/gcc/libstdc++-v3/testsuite/tr1/3_function_objects/function/5.cc:30:6:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


If it's compiled with -O0, -O1 then it's ok.


-- 
           Summary: ICE: at optimization -02
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bkoz at gcc dot gnu dot org


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


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

* [Bug tree-optimization/40991] [4.5 Regression] ICE: at optimization -02
  2009-08-06 18:09 [Bug c++/40991] New: ICE: at optimization -02 bkoz at gcc dot gnu dot org
  2009-08-06 18:09 ` [Bug c++/40991] " bkoz at gcc dot gnu dot org
@ 2009-08-07 12:14 ` rguenth at gcc dot gnu dot org
  2009-08-07 12:42 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-07 12:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-08-07 12:13 -------
It ICEs during PRE.  Mine.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
          Component|c++                         |tree-optimization
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2009-08-07 12:13:52
               date|                            |
            Summary|ICE: at optimization -02    |[4.5 Regression] ICE: at
                   |                            |optimization -02
   Target Milestone|---                         |4.5.0


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


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

* [Bug tree-optimization/40991] [4.5 Regression] ICE: at optimization -02
  2009-08-06 18:09 [Bug c++/40991] New: ICE: at optimization -02 bkoz at gcc dot gnu dot org
  2009-08-06 18:09 ` [Bug c++/40991] " bkoz at gcc dot gnu dot org
  2009-08-07 12:14 ` [Bug tree-optimization/40991] [4.5 Regression] " rguenth at gcc dot gnu dot org
@ 2009-08-07 12:42 ` rguenth at gcc dot gnu dot org
  2009-08-08 15:33 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-07 12:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2009-08-07 12:41 -------
Created an attachment (id=18319)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18319&action=view)
reduced testcase


-- 


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


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

* [Bug tree-optimization/40991] [4.5 Regression] ICE: at optimization -02
  2009-08-06 18:09 [Bug c++/40991] New: ICE: at optimization -02 bkoz at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-08-07 12:42 ` rguenth at gcc dot gnu dot org
@ 2009-08-08 15:33 ` rguenth at gcc dot gnu dot org
  2009-08-08 15:55 ` rguenth at gcc dot gnu dot org
  2009-08-16 20:25 ` hjl at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-08 15:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2009-08-08 15:32 -------
Subject: Bug 40991

Author: rguenth
Date: Sat Aug  8 15:32:36 2009
New Revision: 150580

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150580
Log:
2009-08-08  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/40991
        * tree-ssa-pre.c (eliminate): Delay purging EH edges.

        * g++.dg/torture/pr40991.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr40991.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-pre.c


-- 


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


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

* [Bug tree-optimization/40991] [4.5 Regression] ICE: at optimization -02
  2009-08-06 18:09 [Bug c++/40991] New: ICE: at optimization -02 bkoz at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-08-08 15:33 ` rguenth at gcc dot gnu dot org
@ 2009-08-08 15:55 ` rguenth at gcc dot gnu dot org
  2009-08-16 20:25 ` hjl at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-08 15:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2009-08-08 15:54 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/40991] [4.5 Regression] ICE: at optimization -02
  2009-08-06 18:09 [Bug c++/40991] New: ICE: at optimization -02 bkoz at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2009-08-08 15:55 ` rguenth at gcc dot gnu dot org
@ 2009-08-16 20:25 ` hjl at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-08-16 20:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hjl at gcc dot gnu dot org  2009-08-16 20:25 -------
Subject: Bug 40991

Author: hjl
Date: Sun Aug 16 20:23:57 2009
New Revision: 150812

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150812
Log:
2009-08-16  H.J. Lu  <hongjiu.lu@intel.com>

        Backport from mainline:
        2009-08-14  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/41070
        * gfortran.dg/structure_constructor_10.f90: New.

        2009-08-14  Paolo Bonzini  <bonzini@gnu.org>

        PR target/40934
        * gcc.target/i386/pr40934.c: New.

        2009-08-13  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/40995
        * gfortran.dg/intrinsic_4.f90: New.

        2009-08-13  Richard Guenther  <rguenther@suse.de>

        PR middle-end/41047
        * gcc.dg/tree-ssa/ssa-ccp-27.c: New testcase.

        2009-08-12  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/41011
        * gfortran.dg/pr41011.f: New testcase.

        2009-08-10  Richard Guenther  <rguenther@suse.de>

        PR middle-end/41006
        * gcc.c-torture/compile/pr41006-1.c: New testcase.
        * gcc.c-torture/compile/pr41006-2.c: Likewise.

        2009-08-10  Dodji Seketeli  <dodji@redhat.com>

        PR c++/40866
        * g++.dg/expr/stmt-expr-1.C: New test.

        2009-08-09  Ira Rosen  <irar@il.ibm.com>

        PR tree-optimization/41008
        * gcc.dg/vect/O1-pr41008.c: New test.

        2009-08-08  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/40991
        * g++.dg/torture/pr40991.C: New testcase.

        2009-08-06  Uros Bizjak  <ubizjak@gmail.com>
                    H.J. Lu  <hongjiu.lu@intel.com>

        PR target/40957
        * gcc.target/i386/pr40957.c: New test.

        2009-08-06  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/40964
        * gcc.c-torture/compile/pr40964.c: New testcase.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/expr/stmt-expr-1.C
      - copied unchanged from r150811,
trunk/gcc/testsuite/g++.dg/expr/stmt-expr-1.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/torture/pr40991.C
      - copied unchanged from r150811,
trunk/gcc/testsuite/g++.dg/torture/pr40991.C
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr40964.c
      - copied unchanged from r150811,
trunk/gcc/testsuite/gcc.c-torture/compile/pr40964.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr41006-1.c
      - copied unchanged from r150811,
trunk/gcc/testsuite/gcc.c-torture/compile/pr41006-1.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr41006-2.c
      - copied unchanged from r150811,
trunk/gcc/testsuite/gcc.c-torture/compile/pr41006-2.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-27.c
      - copied unchanged from r150811,
trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-27.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/vect/O1-pr41008.c
      - copied unchanged from r150811,
trunk/gcc/testsuite/gcc.dg/vect/O1-pr41008.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.target/i386/pr40934.c
      - copied unchanged from r150811,
trunk/gcc/testsuite/gcc.target/i386/pr40934.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.target/i386/pr40957.c
      - copied unchanged from r150811,
trunk/gcc/testsuite/gcc.target/i386/pr40957.c
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/intrinsic_4.f90
      - copied unchanged from r150811,
trunk/gcc/testsuite/gfortran.dg/intrinsic_4.f90
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/pr41011.f
      - copied unchanged from r150811,
trunk/gcc/testsuite/gfortran.dg/pr41011.f
   
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/structure_constructor_10.f90
      - copied unchanged from r150811,
trunk/gcc/testsuite/gfortran.dg/structure_constructor_10.f90
Modified:
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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


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

end of thread, other threads:[~2009-08-16 20:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-06 18:09 [Bug c++/40991] New: ICE: at optimization -02 bkoz at gcc dot gnu dot org
2009-08-06 18:09 ` [Bug c++/40991] " bkoz at gcc dot gnu dot org
2009-08-07 12:14 ` [Bug tree-optimization/40991] [4.5 Regression] " rguenth at gcc dot gnu dot org
2009-08-07 12:42 ` rguenth at gcc dot gnu dot org
2009-08-08 15:33 ` rguenth at gcc dot gnu dot org
2009-08-08 15:55 ` rguenth at gcc dot gnu dot org
2009-08-16 20:25 ` hjl 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).