On Wed, Feb 25, 2015 at 7:43 AM, Martin Jambor <mjam...@suse.cz> wrote: > Hi Eric and Richard, > > On Tue, Jan 06, 2015 at 06:07:12PM +0100, Eric Botcazou wrote: >> Martin, >> >> > I suppose that could be done by something like the following, which I >> > have tested only very mildly so far, in particular I have not double >> > checked that get_inner_reference is cfun-agnostic. >> >> The patch introduces no regressions on x86-64/Linux and makes the testcase >> (gnat.dg/specs/pack12.ads attached to the first message) pass. >> >> Do you plan to install it (along with the testcase)? >> > > for various reasons I was not able to do it earlier, but today I have > re-bootstrapped the following (the only change is the added testcase) > on x86_64-linux and it passes OK. Should I commit it to trunk then? > > Thanks, > > Martin > > > 2015-02-25 Martin Jambor <mjam...@suse.cz> > Eric Botcazou <ebotca...@adacore.com> > > gcc/ > * tree-sra.c (ipa_sra_check_caller_data): New type. > (has_caller_p): Removed. > (ipa_sra_check_caller): New function. > (ipa_sra_preliminary_function_checks): Use it. >
This caused: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65305 -- H.J.