public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/42628] ICE during bootstrap when compiling several libsupc++ files: original tree changed by fold
[not found] <bug-42628-4@http.gcc.gnu.org/bugzilla/>
@ 2010-09-30 19:21 ` aanisimov at inbox dot ru
2010-09-30 19:23 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: aanisimov at inbox dot ru @ 2010-09-30 19:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42628
Artem Anisimov <aanisimov at inbox dot ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aanisimov at inbox dot ru
--- Comment #10 from Artem Anisimov <aanisimov at inbox dot ru> 2010-09-30 16:35:06 UTC ---
4.6 trunk fails too. Building rev. 164569 fails with the following error:
../../../../gcc-current/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-current/libstdc++-v3/libsupc++/dyncast.cc:86:1: internal
compiler error: fold check: original tree changed by fold
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
GCC was configured with these options:
../gcc-current/configure --prefix=/home/artem/testing/gcc46 --enable-shared
--enable-bootstrap --enable-languages=c,c++ --enable-threads=posix
--enable-checking=release --with-system-zlib --disable-libunwind-exceptions
--enable-__cxa_atexit --enable-libssp --with-gnu-ld --with-lto --disable-nls
--verbose --with-arch=athlon64 --target=x86_64-slackware-linux
--build=x86_64-slackware-linux --host=x86_64-slackware-linux --disable-multilib
--enable-checking=all
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/42628] ICE during bootstrap when compiling several libsupc++ files: original tree changed by fold
[not found] <bug-42628-4@http.gcc.gnu.org/bugzilla/>
2010-09-30 19:21 ` [Bug bootstrap/42628] ICE during bootstrap when compiling several libsupc++ files: original tree changed by fold aanisimov at inbox dot ru
@ 2010-09-30 19:23 ` jakub at gcc dot gnu.org
2010-10-18 22:44 ` matt at use dot net
2012-12-03 23:19 ` matt at use dot net
3 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-09-30 19:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42628
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-09-30 16:42:41 UTC ---
That's PR45700.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/42628] ICE during bootstrap when compiling several libsupc++ files: original tree changed by fold
[not found] <bug-42628-4@http.gcc.gnu.org/bugzilla/>
2010-09-30 19:21 ` [Bug bootstrap/42628] ICE during bootstrap when compiling several libsupc++ files: original tree changed by fold aanisimov at inbox dot ru
2010-09-30 19:23 ` jakub at gcc dot gnu.org
@ 2010-10-18 22:44 ` matt at use dot net
2012-12-03 23:19 ` matt at use dot net
3 siblings, 0 replies; 6+ messages in thread
From: matt at use dot net @ 2010-10-18 22:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42628
--- Comment #12 from Matt Hargett <matt at use dot net> 2010-10-18 22:44:19 UTC ---
If someone resolves this bug as a duplicate of PR45700 (or vice versa), I'll
verify.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/42628] ICE during bootstrap when compiling several libsupc++ files: original tree changed by fold
[not found] <bug-42628-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2010-10-18 22:44 ` matt at use dot net
@ 2012-12-03 23:19 ` matt at use dot net
3 siblings, 0 replies; 6+ messages in thread
From: matt at use dot net @ 2012-12-03 23:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42628
Matt Hargett <matt at use dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
--- Comment #13 from Matt Hargett <matt at use dot net> 2012-12-03 23:18:45 UTC ---
Cleaning up my bug list. I didn't realize that I would resolve something as
duplicate myself.
*** This bug has been marked as a duplicate of bug 45700 ***
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/42628] ICE during bootstrap when compiling several libsupc++ files: original tree changed by fold
2010-01-05 23:03 [Bug bootstrap/42628] New: [4.4 regression] ICE during bootstrap when compiling dyncast.cc: " matt at use dot net
2010-01-13 22:29 ` [Bug bootstrap/42628] ICE during bootstrap when compiling several libsupc++ files: " rguenth at gcc dot gnu dot org
@ 2010-01-14 20:05 ` matt at use dot net
1 sibling, 0 replies; 6+ messages in thread
From: matt at use dot net @ 2010-01-14 20:05 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2182 bytes --]
------- Comment #9 from matt at use dot net 2010-01-14 20:05 -------
The configure command:
../gcc-trunk/configure --prefix=/home/matt --enable-gold
--enable-build-with-cxx --enable-lto --enable-stage1-checking=all
--disable-werror --enable-bootstrap --enable-languages=c,c++,lto
I then adjust the HAVE_DECL_BASENAME define to be "1" in the config.h files to
work around the documented limitation in autotools' detection of the overloaded
basename() declaration in the headers.
The make command:
make profiledbootstrap
The compilation command that fails (run from the
x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++ directory):
/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/home/matt/x86_64-unknown-linux-gnu/bin/
-B/home/matt/x86_64-unknown-linux-gnu/lib/ -isystem
/home/matt/x86_64-unknown-linux-gnu/include -isystem
/home/matt/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 -O2 -D_GNU_SOURCE -c
../../../../gcc-trunk/libstdc++-v3/libsupc++/eh_alloc.cc -fPIC -DPIC -o
eh_alloc.o
How it fails:
../../../../gcc-trunk/libstdc++-v3/libsupc++/eh_call.cc: In function void
__cxa_call_terminate(_Unwind_Exception*):
../../../../gcc-trunk/libstdc++-v3/libsupc++/eh_call.cc:60:1: internal compiler
error: fold check: original tree changed by fold
Potential reductions:
In the failing commandline above, the crash does not happen at -O0; the crash
starts happening at -O1. Configuring with --disable-bootstrap instead of
--enable-bootstrap, with all other options being the same, also avoids the
crash.
This still happens with r155867.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42628
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/42628] ICE during bootstrap when compiling several libsupc++ files: original tree changed by fold
2010-01-05 23:03 [Bug bootstrap/42628] New: [4.4 regression] ICE during bootstrap when compiling dyncast.cc: " matt at use dot net
@ 2010-01-13 22:29 ` rguenth at gcc dot gnu dot org
2010-01-14 20:05 ` matt at use dot net
1 sibling, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-13 22:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rguenth at gcc dot gnu dot org 2010-01-13 22:28 -------
Not a regression. Bootstrap with C++ is new in 4.5.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.5 regression] ICE during |ICE during bootstrap when
|bootstrap when compiling |compiling several libsupc++
|several libsupc++ files: |files: original tree changed
|original tree changed by |by fold
|fold |
Target Milestone|4.5.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42628
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-12-03 23:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-42628-4@http.gcc.gnu.org/bugzilla/>
2010-09-30 19:21 ` [Bug bootstrap/42628] ICE during bootstrap when compiling several libsupc++ files: original tree changed by fold aanisimov at inbox dot ru
2010-09-30 19:23 ` jakub at gcc dot gnu.org
2010-10-18 22:44 ` matt at use dot net
2012-12-03 23:19 ` matt at use dot net
2010-01-05 23:03 [Bug bootstrap/42628] New: [4.4 regression] ICE during bootstrap when compiling dyncast.cc: " matt at use dot net
2010-01-13 22:29 ` [Bug bootstrap/42628] ICE during bootstrap when compiling several libsupc++ files: " 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).