------- Comment #11 from hubicka at gcc dot gnu dot org 2010-09-16 12:25 ------- Hmm, so do you have any idea where folding should be added for this particular case?
It always seemed to me that it would make sense to add verifier that all statements are folded (locally, not by looking at SSA graph) at optimization pass boundaries. Tried it in the past and found a lot of issues that got fixed, but we never got into agreeing on any policy here. Missing optimizations just because we are stupid enough to forget call fold when updating something seems bad IMO. -- hubicka at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-09-16 12:25:30 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45605