Bug 36838 - [4.4 Regression] ICE: (__frame_state_for) unwind-dw2.c:1194
Summary: [4.4 Regression] ICE: (__frame_state_for) unwind-dw2.c:1194
Status: RESOLVED WORKSFORME
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.4.0
: P3 normal
Target Milestone: 4.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords: build, ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2008-07-15 16:13 UTC by Benjamin Kosnik
Modified: 2008-08-22 14:44 UTC (History)
1 user (show)

See Also:
Host: x86_64-unknown-linux-gnu
Target: x86_64-unknown-linux-gnu
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
pre-processed sources, should actually be .i not .ii (36.90 KB, text/plain)
2008-07-15 16:14 UTC, Benjamin Kosnik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Kosnik 2008-07-15 16:13:36 UTC
Since July 13, I see this on bootstrapping:

/mnt/share/bld/gcc/./gcc/xgcc -B/mnt/share/bld/gcc/./gcc/ -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 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../.././gcc -I/mnt/share/src/gcc/libgcc -I/mnt/share/src/gcc/libgcc/. -I/mnt/share/src/gcc/libgcc/../gcc -I/mnt/share/src/gcc/libgcc/../include -I/mnt/share/src/gcc/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF unwind-dw2.dep -fexceptions -c /mnt/share/src/gcc/libgcc/../gcc/unwind-dw2.c -fvisibility=hidden -DHIDE_EXPORTS
/mnt/share/src/gcc/libgcc/../gcc/unwind-dw2.c: In function '__frame_state_for':
/mnt/share/src/gcc/libgcc/../gcc/unwind-dw2.c:1194: 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.


Pre-processed sources as attached
Comment 1 Benjamin Kosnik 2008-07-15 16:14:24 UTC
Created attachment 15913 [details]
pre-processed sources, should actually be .i not .ii
Comment 2 Benjamin Kosnik 2008-07-15 16:28:18 UTC
%/mnt/share/bld/gcc/./gcc/xgcc -B/mnt/share/bld/gcc/./gcc/ -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/ -O2 -o unwind-dw2.o -c ~bkoz/unwind-dw2.i
/mnt/share/src/gcc/libgcc/../gcc/unwind-dw2.c: In function '__frame_state_for':
/mnt/share/src/gcc/libgcc/../gcc/unwind-dw2.c:1194: internal compiler error: Segmentation fault


but without opts it is ok. Starts failing at -O1.

Comment 3 Benjamin Kosnik 2008-07-15 16:38:27 UTC
Configured with --disable-checking.
Comment 4 Benjamin Kosnik 2008-07-15 17:13:26 UTC
Workaround is to use --enable-checking=release, which works. Thanks Andrew Pinsky!! gcc_assert issues?
Comment 5 Benjamin Kosnik 2008-07-15 17:14:31 UTC
s/Pinsky/Pinski
Comment 6 Richard Biener 2008-07-15 21:47:45 UTC
works for me
Comment 7 Andrew Pinski 2008-08-11 00:46:16 UTC
Does this work now?
Comment 8 Richard Biener 2008-08-22 14:44:07 UTC
Still works for me.  Closing due to lack of response from reporter.