public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/42628]  New: [4.4 regression] ICE during bootstrap when compiling dyncast.cc: original tree changed by fold
@ 2010-01-05 23:03 matt at use dot net
  2010-01-05 23:11 ` [Bug bootstrap/42628] " matt at use dot net
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: matt at use dot net @ 2010-01-05 23:03 UTC (permalink / raw)
  To: gcc-bugs

X-Bugzilla-Reason: CC

doing a profiledbootstrap with trunk revision 155656, I ran into this crash:
/home/matt/src/gcc-obj/./gcc/xgcc -shared-libgcc -B/home/matt/src/gcc-obj/./gcc
-nostdinc++ -L/home/matt/src/gcc-obj/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/home/matt/src/gcc-obj/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include
-I/home/matt/src/gcc-trunk/libstdc++-v3/../gcc
-I/home/matt/src/gcc-obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/home/matt/src/gcc-obj/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/home/matt/src/gcc-trunk/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall
-Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -g -O0 -Wuninitialized -Warray-bounds
-D_GNU_SOURCE -c ../gcc-trunk/libstdc++-v3/libsupc++/dyncast.cc  -fPIC -DPIC -o
~/crashmatt@hargett-755:~/src/gcc-obj$ /home/matt/src/gcc-obj/./gcc/xgcc
-shared-libgcc -B/home/matt/src/gcc-obj/./gcc -nostdinc++
-L/home/matt/src/gcc-obj/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/home/matt/src/gcc-obj/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include
-I/home/matt/src/gcc-trunk/libstdc++-v3/../gcc
-I/home/matt/src/gcc-obj/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/home/matt/src/gcc-obj/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/home/matt/src/gcc-trunk/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall
-Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -g -O1 -Wuninitialized -Warray-bounds
-D_GNU_SOURCE -c ../gcc-trunk/libstdc++-v3/libsupc++/dyncast.cc  -fPIC -DPIC -o
~/crash      
../gcc-trunk/libstdc++-v3/libsupc++/dyncast.cc: In function ‘void*
__cxxabiv1::__dynamic_cast(const void*, const __cxxabiv1::__class_type_info*,
const __cxxabiv1::__class_type_info*, ptrdiff_t)’:                        
../gcc-trunk/libstdc++-v3/libsupc++/dyncast.cc:86:1: internal compiler error:
fold check: original tree changed by fold

valgrind 3.5.0 doesn't find anything worth reporting.

Note that I used BOOT_CFLAGS and CFLAGS of -O3 -g, but in the commandline above
I reduced it to -O1 as that still evoked the crash. -O0 works fine. Curiously,
I couldn't reproduce when I manually added all the individual options listed
for -O1 in the 4.5 man page. (Maybe the man page is missing one of the
options?)

I didn't see this issue when I did a profiledbootstrap about 4 weeks ago.
Compiling the same file and same options with GCC 4.4 and 4.3 doesn't crash,
and neither provides any notable valgrind output.


-- 
           Summary: [4.4 regression] ICE during bootstrap when compiling
                    dyncast.cc: original tree changed by fold
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: matt at use dot net
 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=42628


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

end of thread, other threads:[~2010-01-14 20:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-05 23:03 [Bug bootstrap/42628] New: [4.4 regression] ICE during bootstrap when compiling dyncast.cc: original tree changed by fold matt at use dot net
2010-01-05 23:11 ` [Bug bootstrap/42628] " matt at use dot net
2010-01-05 23:29 ` [Bug bootstrap/42628] [4.4 regression] ICE during bootstrap when compiling several libsupc++ files: " matt at use dot net
2010-01-06 11:42 ` [Bug bootstrap/42628] [4.5 " rguenth at gcc dot gnu dot org
2010-01-07 14:54 ` rguenth at gcc dot gnu dot org
2010-01-08 19:33 ` matt at use dot net
2010-01-09  0:22 ` matt at use dot net
2010-01-09  1:32 ` matt at use dot net
2010-01-09  9:06 ` ubizjak at gmail dot com
2010-01-13 22:29 ` [Bug bootstrap/42628] " rguenth at gcc dot gnu dot org
2010-01-14 20:05 ` matt at use dot net

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