[PATCH, CHKP] [always_inline 2/2] Fix segafult in SRA

Jeff Law law@redhat.com
Fri Jan 16 17:09:00 GMT 2015


On 01/16/15 04:09, Ilya Enkovich wrote:
> Hi,
>
> In early SRA some_callers_have_mismatched_arguments_p function is called for function, all its thunks and aliases, but actually cannot handle function with thunks because assumes call_stmt for call_edge is not NULL.  This patch rejects functions with thunks instead of ICE.
>
> Bootstrapped and checked on x86_64-unknown-linux-gnu.  Fixes faults revealed by the first patch in the series.  OK for trunk?
>
> Thanks,
> Ilya
> --
> 2015-01-16  Ilya Enkovich  <ilya.enkovich@intel.com>
>
> 	* tree-sra.c (some_callers_have_mismatched_arguments_p): Allow thunk
> 	callers.
OK.
jeff



More information about the Gcc-patches mailing list