[Bug middle-end/42505] [4.4/4.5/4.6 Regression] loop canonicalization causes a lot of unnecessary temporary variables

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jun 4 09:09:00 GMT 2010



------- Comment #6 from rguenth at gcc dot gnu dot org  2010-06-04 09:08 -------
If the result of the conversion is only used in an exit equality test against a
constant it can be dropped.  This could also happen in a following
forwprop run which is our single tree-combiner (though that currently will
combine into comparisons only if the result will be a constant, it doesn't
treat defs with a single use specially which it could, if the combined
constant is in gimple form).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42505



More information about the Gcc-bugs mailing list