Question on scalar replacement

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


    > Jason, is a.f = foo() valid GIMPLE?  If not, then the bug is in the
    > gimplifier.  Otherwise, the patch I sent should be OK.

    It's valid for aggregate_type_p type.

Nevertheless, I think Diego's patch is worthwhile on the grounds of "be
conservative in a what you generate and liberal in what you accept".  If
we're going to disallow a scalar CALL_EXPR on the RHS of a MODIFY_EXPR
with a compound LHS, we need to test for it and ICE if we see it.



More information about the Gcc mailing list