This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs 1.1b sparc Solaris 5.5.1 optimsation failure
- To: oliva at dcc dot unicamp dot br (Alexandre Oliva)
- Subject: Re: egcs 1.1b sparc Solaris 5.5.1 optimsation failure
- From: hjl at lucon dot org (H.J. Lu)
- Date: Thu, 17 Sep 1998 10:50:43 -0700 (PDT)
- Cc: egcs at cygnus dot com
>
> H J Lu <hjl@lucon.org> writes:
>
> >> Mark Phillips <M.S.Phillips@nortel.co.uk> writes:
>
> >> > I am running Solaris 5.5.1 on a Sparstation 5. The assembler is from
> >> > binutils 2.8.1 as is the ld.
>
> >> binutils 2.9 or newer is required for some C++ exception handling
> >> issues, but that's not your problem.
>
> > Well, all the current official binutils from the FSF have an exception
> > optimization bug.
>
> I'm aware of the problems on alpha, but I haven't noticed any problem
> on neither sparc no x86 with binutils 2.9.1. At least, they're not
> detected by the testsuite.
>
That bug is not alpha specific. It just shows up on alpha in every
C++ program when an exception is thrown since _eh.o in libgcc.a
is misassembled. If you use binutils 2.9.1 and frame EH, you are
sitting on a time bomb.
H.J.