public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/39659]  New: [4.5][bootstrap] ICE building libstdc++v3 functexcept.cc
@ 2009-04-06  8:52 ayers at gcc dot gnu dot org
  2009-04-06  9:05 ` [Bug bootstrap/39659] " ayers at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: ayers at gcc dot gnu dot org @ 2009-04-06  8:52 UTC (permalink / raw)
  To: gcc-bugs

...
/bin/sh ../libtool --tag CXX --mode=compile
/home/ayers/gcc/trunk/build/./gcc/xgcc -shared-libgcc
-B/home/ayers/gcc/trunk/build/./gcc -nostdinc++
-L/home/ayers/gcc/trunk/build/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/ayers/gcc/trunk/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include 
-I/home/ayers/gcc/trunk/build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
-I/home/ayers/gcc/trunk/build/i686-pc-linux-gnu/libstdc++-v3/include
-I/home/ayers/gcc/trunk/libstdc++-v3/libsupc++  -fno-implicit-templates -Wall
-Wextra -Wwrite-strings -Wcast-qual  -fdiagnostics-show-location=once 
-ffunction-sections -fdata-sections  -D_GNU_SOURCE    -std=gnu++0x -c
../../../../libstdc++-v3/src/functexcept.cc
libtool: compile:  /home/ayers/gcc/trunk/build/./gcc/xgcc -shared-libgcc
-B/home/ayers/gcc/trunk/build/./gcc -nostdinc++
-L/home/ayers/gcc/trunk/build/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/ayers/gcc/trunk/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include
-I/home/ayers/gcc/trunk/build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
-I/home/ayers/gcc/trunk/build/i686-pc-linux-gnu/libstdc++-v3/include
-I/home/ayers/gcc/trunk/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall
-Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -D_GNU_SOURCE -std=gnu++0x -c
../../../../libstdc++-v3/src/functexcept.cc  -fPIC -DPIC -o .libs/functexcept.o
../../../../libstdc++-v3/src/functexcept.cc: In function 'void
std::__throw_logic_error(const char*)':
../../../../libstdc++-v3/src/functexcept.cc:65: error: region 6 may contain
throw and is contained in region that may not
Eh tree:
   8 must_not_throw also known as:4, 5
     6 allowed_exceptions tree_label:<L3>filter :0 types:
   1 cleanup tree_label:<L9>
     7 allowed_exceptions tree_label:<L7>filter :0 types:
     2 cleanup tree_label:<L2>
       3 cleanup tree_label:<L0>
../../../../libstdc++-v3/src/functexcept.cc:65: internal compiler error:
verify_eh_tree failed

configured with: ../configure --enable-languages=obj-c++
--enable-version-specific-runtime-libs --program-suffix=-trunk

PS: I claimed ice-on-valid-code as I assume that libstdc++v3 contains valid
code here even though that's not something can really confirm... there doesn't
seem to be an unadorned ICE keyword.

PPS: I still need to figure out how create the preprocessed source during
bootstrap... and I'll try to figure out when this showed up.


-- 
           Summary: [4.5][bootstrap] ICE building libstdc++v3 functexcept.cc
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, build, EH
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ayers at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug bootstrap/39659] [4.5][bootstrap] ICE building libstdc++v3 functexcept.cc
  2009-04-06  8:52 [Bug bootstrap/39659] New: [4.5][bootstrap] ICE building libstdc++v3 functexcept.cc ayers at gcc dot gnu dot org
@ 2009-04-06  9:05 ` ayers at gcc dot gnu dot org
  2009-04-06  9:12 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ayers at gcc dot gnu dot org @ 2009-04-06  9:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ayers at gcc dot gnu dot org  2009-04-06 09:04 -------
Possibly related: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39610


-- 


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


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

* [Bug bootstrap/39659] [4.5][bootstrap] ICE building libstdc++v3 functexcept.cc
  2009-04-06  8:52 [Bug bootstrap/39659] New: [4.5][bootstrap] ICE building libstdc++v3 functexcept.cc ayers at gcc dot gnu dot org
  2009-04-06  9:05 ` [Bug bootstrap/39659] " ayers at gcc dot gnu dot org
@ 2009-04-06  9:12 ` rguenth at gcc dot gnu dot org
  2009-04-06  9:13 ` [Bug middle-end/39659] [4.5 Regression] " rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-06  9:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-04-06 09:11 -------
*** Bug 39649 has been marked as a duplicate of this bug. ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |henrik30000 at gmail dot com


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


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

* [Bug middle-end/39659] [4.5 Regression] ICE building libstdc++v3 functexcept.cc
  2009-04-06  8:52 [Bug bootstrap/39659] New: [4.5][bootstrap] ICE building libstdc++v3 functexcept.cc ayers at gcc dot gnu dot org
  2009-04-06  9:05 ` [Bug bootstrap/39659] " ayers at gcc dot gnu dot org
  2009-04-06  9:12 ` rguenth at gcc dot gnu dot org
@ 2009-04-06  9:13 ` rguenth at gcc dot gnu dot org
  2009-04-06  9:29 ` hubicka at ucw dot cz
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-06  9:13 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org
          Component|bootstrap                   |middle-end
           Priority|P3                          |P1
            Summary|[4.5][bootstrap] ICE        |[4.5 Regression] ICE
                   |building libstdc++v3        |building libstdc++v3
                   |functexcept.cc              |functexcept.cc
   Target Milestone|---                         |4.5.0


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


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

* [Bug middle-end/39659] [4.5 Regression] ICE building libstdc++v3 functexcept.cc
  2009-04-06  8:52 [Bug bootstrap/39659] New: [4.5][bootstrap] ICE building libstdc++v3 functexcept.cc ayers at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-04-06  9:13 ` [Bug middle-end/39659] [4.5 Regression] " rguenth at gcc dot gnu dot org
@ 2009-04-06  9:29 ` hubicka at ucw dot cz
  2009-04-06 10:06 ` ayers at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hubicka at ucw dot cz @ 2009-04-06  9:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hubicka at ucw dot cz  2009-04-06 09:28 -------
Subject: Re:  [4.5 Regression] ICE building libstdc++v3 functexcept.cc

Hi,
this does not reproduce on my setup, but the following patch should fix it.

Honza

Index: except.c
===================================================================
--- except.c    (revision 145584)
+++ except.c    (working copy)
@@ -853,6 +853,7 @@ remove_unreachable_regions (sbitmap reac
                     r->region_number,
                     first_must_not_throw->region_number);
          remove_eh_handler_and_replace (r, first_must_not_throw);
+         first_must_not_throw->may_contain_throw |= r->may_contain_throw;
        }
       else
        bring_to_root (r);


-- 


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


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

* [Bug middle-end/39659] [4.5 Regression] ICE building libstdc++v3 functexcept.cc
  2009-04-06  8:52 [Bug bootstrap/39659] New: [4.5][bootstrap] ICE building libstdc++v3 functexcept.cc ayers at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-04-06  9:29 ` hubicka at ucw dot cz
@ 2009-04-06 10:06 ` ayers at gcc dot gnu dot org
  2009-04-06 11:07 ` ayers at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ayers at gcc dot gnu dot org @ 2009-04-06 10:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ayers at gcc dot gnu dot org  2009-04-06 10:06 -------
The patch fixes the build... a new bootstrap is in progress.


-- 


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


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

* [Bug middle-end/39659] [4.5 Regression] ICE building libstdc++v3 functexcept.cc
  2009-04-06  8:52 [Bug bootstrap/39659] New: [4.5][bootstrap] ICE building libstdc++v3 functexcept.cc ayers at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2009-04-06 10:06 ` ayers at gcc dot gnu dot org
@ 2009-04-06 11:07 ` ayers at gcc dot gnu dot org
  2009-04-06 11:25 ` hubicka at gcc dot gnu dot org
  2009-04-06 12:29 ` ayers at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: ayers at gcc dot gnu dot org @ 2009-04-06 11:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ayers at gcc dot gnu dot org  2009-04-06 11:07 -------
Bootstrap completed successfully, thanks for the fast patch!


-- 


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


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

* [Bug middle-end/39659] [4.5 Regression] ICE building libstdc++v3 functexcept.cc
  2009-04-06  8:52 [Bug bootstrap/39659] New: [4.5][bootstrap] ICE building libstdc++v3 functexcept.cc ayers at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2009-04-06 11:07 ` ayers at gcc dot gnu dot org
@ 2009-04-06 11:25 ` hubicka at gcc dot gnu dot org
  2009-04-06 12:29 ` ayers at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2009-04-06 11:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hubicka at gcc dot gnu dot org  2009-04-06 11:24 -------
Subject: Bug 39659

Author: hubicka
Date: Mon Apr  6 11:24:32 2009
New Revision: 145589

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145589
Log:

        PR middle-end/39659
        * except.c (remove_unreachable_regions): Propagate may_contain_throw
        flag.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/except.c


-- 


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


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

* [Bug middle-end/39659] [4.5 Regression] ICE building libstdc++v3 functexcept.cc
  2009-04-06  8:52 [Bug bootstrap/39659] New: [4.5][bootstrap] ICE building libstdc++v3 functexcept.cc ayers at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2009-04-06 11:25 ` hubicka at gcc dot gnu dot org
@ 2009-04-06 12:29 ` ayers at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: ayers at gcc dot gnu dot org @ 2009-04-06 12:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from ayers at gcc dot gnu dot org  2009-04-06 12:29 -------
Fixed.


-- 

ayers at gcc dot gnu dot org changed:

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


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


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

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-06  8:52 [Bug bootstrap/39659] New: [4.5][bootstrap] ICE building libstdc++v3 functexcept.cc ayers at gcc dot gnu dot org
2009-04-06  9:05 ` [Bug bootstrap/39659] " ayers at gcc dot gnu dot org
2009-04-06  9:12 ` rguenth at gcc dot gnu dot org
2009-04-06  9:13 ` [Bug middle-end/39659] [4.5 Regression] " rguenth at gcc dot gnu dot org
2009-04-06  9:29 ` hubicka at ucw dot cz
2009-04-06 10:06 ` ayers at gcc dot gnu dot org
2009-04-06 11:07 ` ayers at gcc dot gnu dot org
2009-04-06 11:25 ` hubicka at gcc dot gnu dot org
2009-04-06 12:29 ` ayers 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).