This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: sjlj-exceptions ICE. simplified test case
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: sjlj-exceptions ICE. simplified test case
- From: Robert Lipe <robertl at sco dot com>
- Date: Tue, 25 Apr 2000 10:11:54 -0500
- Cc: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- References: <20000423223401.A5548@rjlhome.sco.com> <20000425031515.A7610@cygnus.com>
Thanx for the patch, Richard. But....
Richard Henderson wrote:
> On Sun, Apr 23, 2000 at 10:34:01PM -0500, Robert Lipe wrote:
> > This test case, derived from tinfo.cc during bootstrap, shows more
> > concisely the ICE I reported earlier in the week. I've verified that
> > it also fails on i686-pc-linux. To reproduce, invoke cc1plus with '-O2
> > -sjlj-exceptions'.
>
> This fixes the test case. What's the easiest way to test
> this out for real? RUNTESTFLAGS='--tool_opts -fsjlj-exceptions' ?
Yes, that should exercise it.
> I don't expect problems, but...
Well, the problem when bootstrapping tinfo.cc has moved. But it does
still appear to be sjlj-exceptions triggered. It, too, is reproducable
under Linux/IA32.
./xgcc -B/usr/local/i586-pc-sco3.2v5.0.5/bin/ -B./ -isystem /usr/local/i586-pc-sco3.2v5.0.5/include -O2 -DIN_GCC -W -Wall -Wtraditional -O2 -isystem ./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -mcoff -I. -I../../egcs/gcc -I../../egcs/gcc/config -I../../egcs/gcc/../include \
-c ../../egcs/gcc/cp/tinfo.cc
cc1plus: warning: Ignoring command line option '-Wtraditional'
../../egcs/gcc/cp/tinfo.cc: In method `bad_cast::bad_cast ()':
../../egcs/gcc/cp/tinfo.cc:1181: Internal compiler error.
../../egcs/gcc/cp/tinfo.cc:1181: Please submit a full bug report.
../../egcs/gcc/cp/tinfo.cc:1181: See
../../egcs/gcc/cp/tinfo.cc:1181: <URL:http://www.gnu.org/software/gcc/bugs.html>
../../egcs/gcc/cp/tinfo.cc:1181: for instructions.
> * toplev.c (rest_of_compilation): Delay sibcall optimization
> until after emit_eh_context.