public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: tgreve@ixmid.com
To: gcc-gnats@gcc.gnu.org
Subject: c++/7610: ICE after bootstrap in libstdc++/libsupc++
Date: Fri, 16 Aug 2002 04:16:00 -0000	[thread overview]
Message-ID: <200208161037.g7GAbwX15220@pc61.ixmid.com> (raw)


>Number:         7610
>Category:       c++
>Synopsis:       ICE after bootstrap while compiling libstdc++/libsupc++ using -g1
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 16 03:46:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Greve
>Release:        3.1.1
>Organization:
ixmid Software-Technologie GmbH
>Environment:
System: Linux pc61 2.4.17 #1 Mon Jan 28 12:18:28 MET 2002 i686 unknown
Architecture: i686


host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ./configure  : ./configure --enable-shared --enable-threads --with-cpu=athlon --enable-languages=c,c++,java --with-system-zlib
>Description:
When compiling libsupc++ with -O2 -g1 or with -O -g1, an ICE is triggered by eh_personality.cc:485

/home/thomas/gnu/gcc-3.1.1/gcc/xgcc -shared-libgcc -B/home/thomas/gnu/gcc-3.1.1/gcc/ -nostdinc++ -L/home/thomas/gnu/gcc-3.1.1/i686-pc-linux-gnu/libstdc++-v3/src -L/home/thomas/gnu/gcc-3.1.1/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 -I../../../gcc -I../../../include -I/home/thomas/gnu/gcc-3.1.1/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/home/thomas/gnu/gcc-3.1.1/i686-pc-linux-gnu/libstdc++-v3/include -I../libsupc++ -O2 -march=athlon -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -O2 -march=athlon -ffunction-sections -fdata-sections -g1 -c eh_personality.cc  -fPIC -DPIC -o eh_personality.o
In file included from eh_personality.cc:38:
../../../gcc/unwind-pe.h: In function `unsigned int 
   size_of_encoded_value(unsigned char)':
../../../gcc/unwind-pe.h:77: warning: control reaches end of non-void function
../../../gcc/unwind-pe.h: In function `_Unwind_Ptr 
   base_of_encoded_value(unsigned char, _Unwind_Context*)':
../../../gcc/unwind-pe.h:107: warning: control reaches end of non-void function
../../../gcc/unwind-pe.h: In function `const unsigned char* 
   read_encoded_value_with_base(unsigned char, unsigned int, const unsigned 
   char*, _Unwind_Ptr*)':
../../../gcc/unwind-pe.h:182: warning: `_Unwind_Ptr result' might be used 
   uninitialized in this function
eh_personality.cc: At global scope:
eh_personality.cc:485: Internal compiler error in dwarf2out_finish, at 
   dwarf2out.c:12183
Please submit a full bug report,
with preprocessed source if appropriate.
>How-To-Repeat:
In gcc-3.1.1/i686-pc-linux-gnu/libstdc++-v3/libsupc++/Makefile, set
CONFIG_CXXFLAGS = -ffunction-sections -fdata-sections -g1
>Fix:
Use -g0

>Release-Note:
>Audit-Trail:
>Unformatted:


                 reply	other threads:[~2002-08-16 10:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200208161037.g7GAbwX15220@pc61.ixmid.com \
    --to=tgreve@ixmid.com \
    --cc=gcc-gnats@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).