------- Comment #2 from pinskia at gcc dot gnu dot org 2008-02-23 05:50 ------- More than just constant prop, see PR 25972 for more info on what else it can be done with union in the same way.
Actually I think MEM_REF will make it worse and will not help. In fact I still think MEM_REF is a bad idea and will cause worse aliasing issues with unions than that are already done. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Keywords| |missed-optimization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35292