http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52283
--- Comment #8 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-02-16 20:09:43 UTC --- (In reply to comment #7) > (In reply to comment #6) > > Is this folding actually necessary for anything beyond diagnostics? I > > thought > > it was agreed that folding in the FEs was EVIL and we should stop doing it. > > Yes, in various places some folding is needed for language semantics, in other > places for various extensions. The C FE does far less folding then it did. Talking about this particular case (folding in build_c_cast), is this actually needed here? Couldn't GCC just delay folding until actually needed?