This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH] [ARM, Callgraph] Fix PR67280: function incorrectly marked as nothrow


On 2 September 2015 at 13:09, Jan Hubicka <hubicka@ucw.cz> wrote:
> It kind of sucks that one needs to mind this flag each time one creates edge,
> but setting the value in create_edge is not quite correct as that one does not
> have any information on where the call appears and if the exception is not handled
> locally.

OK.

>> >gcc/ChangeLog:
>> >
>> >2015-08-28  Charles Baylis  <charles.baylis@linaro.org>
>> >
>> >         * cgraphunit.c (cgraph_node::create_wrapper): Set can_throw_external
>> >         in new callgraph edge.
>> Ultimately Jan's call.
>
> This is OK.
> Thanks for looking into this!

Thanks for the review!

FWIW, the patch successfully bootstrapped on arm-linux-gnueabihf

Committed to trunk as r227407.

Are you happy for me to backport to gcc-5-branch?

Charles


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