------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-26 13:57 ------- Well there are multiple problems in this bug. One is that empty loops are not removed (PR 17640). The only problem Another is that we don't fold "(&x.foo[2] == &x.foo)" to false And "&x.foo[2] - 4B" to "&x.foo[0]" And IV-OPT does not realize that it is just a loop from 0 to 1 (but that might be because of fold not folding what is about).
-- What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |17640 Severity|normal |enhancement Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |missed-optimization Last reconfirmed|0000-00-00 00:00:00 |2005-01-26 13:57:32 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19639