C++ PATHC: PR5571

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Sat Apr 13 11:19:00 GMT 2002


    And then *require* front ends to call make_decl_rtl when the variable
    is completed?  Or go with my approach of having layout_decl call
    make_decl_rtl again?  Or what?

    There's a tangle here, and we need to do two things:

    1. Untangle it.

    2. Document what it is that you're supposed to do to get the right
       answer.

Agreed.

    Do you have a concrete suggestion for cleaning this stuff up?

Not really, because I'm not that familiar with the needs of the front
ends here.

I think the simplest approach is to just let the code in expand_expr
do the work, but that might be tricky in the case where the front end
needs to set things like DECL_SIZE differently than TYPE_SIZE.  However,
that may not be possible in the incomplete cases, so it may not be an issue.



More information about the Gcc-patches mailing list