This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, PR 43141] Create ABSTRACT_ORIGIN for decls changed by IPA-SRA
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Richard Guenther <rguenther at suse dot de>, Jan Hubicka <hubicka at ucw dot cz>
- Date: Mon, 15 Mar 2010 05:02:54 -0800
- Subject: Re: [PATCH, PR 43141] Create ABSTRACT_ORIGIN for decls changed by IPA-SRA
- References: <20100311230147.GA2369@alvy.suse.cz>
On Thu, Mar 11, 2010 at 3:01 PM, Martin Jambor <mjambor@suse.cz> wrote:
> Hi,
>
> the patch below (a bit simpler than the one attached in bugzilla)
> fixes PR 43141 by building an ABSTRACT_ORIGIN decl for it. ?This does
> lead to emitting deleted parameters in debug info and is easier than
> creating a decl for the function that we actually use and update all
> calls. ?Obviously it is a bit of a hack, but I hope it is an
> acceptable one.
>
> The patch successfully bootstraps and tests with no regressions on
> x86_64-linux. ?OK for trunk?
>
> Thanks,
>
> Martin
>
>
> 2010-03-11 ?Martin Jambor ?<mjambor@suse.cz>
>
> ? ? ? ?PR tree/optimization/43141
It should be "tree-optimization".
> ? ? ? ?* tree-sra.c (create_abstract_origin): New function.
> ? ? ? ?(modify_function): Call create_abstract_origin.
>
Is that possible to add a testcase to gcc.dg/guality?
--
H.J.