other/10778: Exception handling seems to fail on a powerpc using GCC 3.2.3powerpc-eabi cross compiler
mhessel@xs4all.nl
mhessel@xs4all.nl
Tue May 20 09:47:00 GMT 2003
When throwing an exception the (see attachment 'main.cpp') the call to the
constructor of the class that handles the exception is done well (see
attachment 'exception #1.gif').
After construction, the related 'catch' part should be called. Looking
into the generated assembly by the powerpc-eabi GCC v3.x, the exception
handling part does not seem to find the catch part. The exception seems to
fail after calling 'uw_frame_state_for' (see attachment 'exception
#1.gif'). The exception is aborted because the 'bne- 0x225f8
<uw_init_context_1+160>' is taken (the abort function is called).
Cheers,
Marwijn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exception #1.gif
Type: image/gif
Size: 25207 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20030520/7eabb0b8/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exception #2.gif
Type: image/gif
Size: 26627 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20030520/7eabb0b8/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: application/octet-stream
Size: 1375 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20030520/7eabb0b8/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Version information powerpc-eabi-gcc v3.2.3.txt
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20030520/7eabb0b8/attachment.txt>
More information about the Gcc-bugs
mailing list