[pretty-ipa] Enable IPA nothrow discovery

H.J. Lu hjl.tools@gmail.com
Sun Apr 19 15:47:00 GMT 2009


On Sun, Apr 19, 2009 at 5:08 AM, Jan Hubicka <hubicka@ucw.cz> wrote:
>> > I've merged this to mainline now.  Will do the cgraph datastructure
>> > changes as suggested in followup.
>>
>> This may have caused PR c/39812.
> The i386/cleanup-1.c is semi-invalid testcase calling function doing
> unwinding from within asm statement.  It however excercise real bug in
> propagation of throwing flag.  The following patch should fix it, I also
> added proper cfun sets/gets across can_throw_externally so answer is
> right (this does not happen in current code but in general,
> cgraph_create_edge is allowed to be called without cfun set
> correspondingly to the caller).
>
> I am doing full testing on x86_64-linux and hope it will fix Ada
> testcases too and will commit it once testing pass.
>

There are 2 bugs:

1. 8 Ada regressions:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39812

2. i386/cleanup-1.c:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39816

They are caused by different changes. Your patch
may not fix PR 39812.


-- 
H.J.



More information about the Gcc-patches mailing list