On Wed, 15 Aug 2012, Jakub Jelinek wrote: > I was mainly interested in whether such an approach is acceptable, or > whether I need to stop evaluating sizeof right away, create SIZEOF_EXPR > and only fold it during fully_fold*. I've briefly looked at that today,
The approach is fine. Delaying evaluating sizeof is hard simply because of the expectation that integer constant expressions in general are evaluated early. -- Joseph S. Myers jos...@codesourcery.com