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]Keep location info when expand complex component-wise load/store.


On Thu, Feb 5, 2015 at 3:22 AM, Renlin Li <renlin.li@arm.com> wrote:
> Hi all,
>
> location information is missing when rewrite complex component-wise
> load/store.
>
> This patch add the location info to fix the recently gcc.dg/uninit-13.c and
> gcc.dg/uninit-17.c failures on arm target. The compiler warns uninitialised
> usage at the variable's declaration location instead of the place where it's
> used, because the location information is missing when the rtx is rewritten.
>
> arm-none-eabi test Okay, x86-64 native bootstrap Okay.
> Okay for trunk?
>
> gcc/ChangeLog:
>
> 2015-02-05  Renlin Li <renlin.li@arm.com>
>
>     * tree-ssa-forwprop.c (execute): Keep location info while rewrite
> complex rtx.
>     * tree-ssa.c (execute_update_addresses_taken): Likewise.


s/rtx/gimple/ :)

Thanks,
Andrew


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