|
From: John R.
|
> Does GCC 4.1 still allocate variables to registers with optimisation > turned off? Any fetch from memory to a register is also an "allocation" to that register. The most trivial peephole optimization (removing "redundant" fetches [or stores!]) will erase any doubt that this is a real allocation. The best you could hope for is that the register is used as if static single assignment (SSA) were in effect for the result of the fetch: one use only, then forgotten. -- |