What is purpose of numbered variables??
Diego Novillo
dnovillo@google.com
Mon Jun 4 17:33:00 GMT 2007
On 6/1/07 3:45 PM, Seema S. Ravandale wrote:
> int b; //local variable
>
> array[b] = c
>
> will be translated to
> b.0 = b;
> array[b.0] = c
>
> anything to do with SSA?
Is 'b' an addressable variable or is it a regular local stack variable?
If the latter, then this is a buglet in the conversion to GIMPLE form.
We should probably check whether the array index is already a gimple
register before creating b.0.
It's not a big issue, though. Copy propagation should get rid of that
very early on, but I agree that it would be worth fixing.
More information about the Gcc
mailing list