This is the mail archive of the gcc@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]

Re: 970917 EH problem in sparc with -O


On Thu, Sep 18, 1997 at 11:55:38AM +0200, Teemu Torma wrote:
> If the following program is compiled with optimization turned on,
> throwing an exception will cause an infinite loop to exceptions.
> The compiler has Jason's `--pc' patch installed.

This program exhibits similar problems on Linux x86.  -g works fine, but -O
causes it to get stuck in level 2, eventually terminating with a bus error
after 86 iterations (this is repeatable).

I have a related problem, but no sample code, where even -g results in an
infinite loop while throwing an exception.  I'll try to narrow my source
down to a concise example and post it later.

This compiler does not have Jason's "--pc" patch.

-- 
Steve Madsen  <steve@moonglade.com>              PGP key available


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