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]

Re: Bug in throw() function suffix?


Andris Pavenis <pavenis@lanet.lv> writes:

> YAKUSH S E <yakush@ipmnet.ru> writes:
>> 
>> > I came across a strange bug(?) in egcs-1.1 (pgcc-2.91.57 19980901):
>> 
>> Using the *real* egcs (pgcc is not egcs) does not cause the program to 
>> abort() on x86.  Please submit a bug report to the pgcc maintenance
>> team.

> Tested with both egcs-1.1 and pgcc-1.1 
> (GNU C++ version pgcc-2.91.57 19980901 (egcs-1.1 release) (djgpp) compiled by GNU C version egcs-2.91.57 19980901 (egcs-1.1 release).) 
> for DJGPP. 

Ok, AFAIK, DJGPP enables -fsjlj-exceptions by default.  Unfortunately, 
to the best of my knowledge, exception verifications in sjlj-exceptions
are broken :-(

I've just added the attached testcase to the testsuite.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:oliva@gnu.org mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil

sjlj1.C


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