This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/7610: ICE after bootstrap in libstdc++/libsupc++


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]