https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70812
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-27 CC| |jason at gcc dot gnu.org, | |jsm28 at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Yeah, we still rely on all of the GENERIC eventually being fold()ed by the frontends. gimplification doesn't re-fold things before gimplifying it and the generated GIMPLE while most of it being folded via fold_stmt cannot (yet) recover the missing use-def links and only sees single GIMPLE stmt expressions (I'm working on fixing that). In the wonderful new world we'd build all GIMPLE with the match-and-simplify machinery during gimplification and would not need any folding (besides constexpr and initializers) on GENERIC done by the frontends.