public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "matt at use dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/42628] ICE during bootstrap when compiling several libsupc++ files: original tree changed by fold
Date: Thu, 14 Jan 2010 20:05:00 -0000	[thread overview]
Message-ID: <20100114200501.12014.qmail@sourceware.org> (raw)
In-Reply-To: <bug-42628-8137@http.gcc.gnu.org/bugzilla/>

[-- 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


  parent reply	other threads:[~2010-01-14 20:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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-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 message]
     [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
2010-10-18 22:44 ` matt at use dot net
2012-12-03 23:19 ` matt at use dot net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100114200501.12014.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).