[patch, fortran] Patch for PR fortran/39352, using -fexceptions.

Tobias Burnus burnus@net-b.de
Wed May 13 12:09:00 GMT 2009


Jakub Jelinek wrote:
> On Tue, May 12, 2009 at 05:00:45PM -0700, Steve Ellcey wrote:
> > This patch for PR fortran/39352 initializes eh_personality_libfunc
>
> You should instead do what the C FE does, particularly only initialize
> eh_personality_libfunc if any !$omp constructs are seen
> (other than !$omp atomic)
>

I created the patch based on this (after an IRC discussion with Jakub).

> Alternatively, fix up ia64 unwind generation so that it doesn't require
> a personality function (put 0 in there?).

If this solution is prefered, I leave it to others ...

The following compiles (yeah!) and does essentially the same C is doing
in c-decl.c. I have not bootstrapped not run the full testsuite.

Is this patch OK? And does it work on i64?

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fexception.diff
Type: text/x-patch
Size: 3402 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090513/f99d1d4f/attachment.bin>


More information about the Gcc-patches mailing list