------- Comment #2 from rguenth at gcc dot gnu dot org 2009-04-14 10:06 ------- It is done by DOM, VRP and/or phicprop. CCP cannot do it because the PHI node is varying. Complex lowering does not split PHI nodes into a real/imag part either. For the same reason as CCP FRE won't do it either.
PRE should be able to phi-translate through the PHI and discover it, but there's nothing antic-in here. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39761