On 02/05/15 04:22, Renlin Li 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...@arm.com>
* tree-ssa-forwprop.c (execute): Keep location info while rewrite
complex rtx.
* tree-ssa.c (execute_update_addresses_taken): Likewise.
OK.
jeff