[trunk][patch] don't use SAVE_EXPR on TYPE_SIZE

Eric Botcazou ebotcazou@adacore.com
Tue Jun 10 18:36:00 GMT 2008


> Do they need to be available after gimplification?

No, all SAVE_EXPRs should be eliminated during gimplification.

> What are they used for? 

I'm not sure what answer you're expecting exactly.  They are used for the 
purpose explained in tree.def, nothing more but nothing less.  Types can 
virtually depend on anything in Ada and values need to be captured by the 
time they are laid out; when these types are at global level, you cannot 
create variables directly since you don't have a function at hand.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list