Question on scalar replacement

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Mon Jun 14 15:09:00 GMT 2004


    The C gimplifier always creates a scalar LHS:

	a.f = foo ()

    is gimplified into

	temp = foo ()
	a.f = temp

Note that if a.f is not a scalar, this is a transformation that can
cause a large copy.



More information about the Gcc mailing list