Re: [PATCH 2/6] [AArch64-4.7] Fix warning - aarch64_add_constant mixed code and declarations.

2013-02-02 Thread Richard Earnshaw
On 01/02/13 17:42, James Greenhalgh wrote: Hi, In config/aarch64/aarch64.c::aarch64_add_constant `shift' was declared after we started writing code. C90 doesn't like this, so split the declaration and the assignment. This fixes the warning: config/aarch64/aarch64.c: In function ‘aarch64_add_c

[PATCH 2/6] [AArch64-4.7] Fix warning - aarch64_add_constant mixed code and declarations.

2013-02-01 Thread James Greenhalgh
Hi, In config/aarch64/aarch64.c::aarch64_add_constant `shift' was declared after we started writing code. C90 doesn't like this, so split the declaration and the assignment. This fixes the warning: config/aarch64/aarch64.c: In function ‘aarch64_add_constant’: config/aarch64/aarch64.c:2249:4: wa