------- Comment #1 from rguenth at gcc dot gnu dot org 2007-09-08 13:00 ------- It's currently not optimized because the simple phiprop does neither handle component references nor inserts loads from pointers.
See the thread starting at http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01075.html on how to teach PRE to do a small set of possible transformations like this. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-09-08 13:00:10 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33344