During investigate PR62173, another issue I found is gcc is doing bad
offset combination during LRA virtual register elimination.
For example, suppose we access one element from a local array A[i],
normally we get:
sequence1
=
rA = sfp + rB
rC = MEM[rA + off0]
rB contains index "i",
On 20/08/14 16:22, Wilco Dijkstra wrote:
Hi,
Various targets implement -momit-leaf-frame-pointer to avoid using a frame
pointer in leaf
functions. Currently the GCC mid-end does not provide a way of doing this, so
targets have resorted
to hacks. Typically this involves forcing flag_omit_frame