[Bug c/42494] [4.4 Regression] Missed dead-code-elimination: GCC 4.2.1 generates better code than 4.4.0
steven at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 29 11:31:00 GMT 2009
------- Comment #2 from steven at gcc dot gnu dot org 2009-12-29 11:31 -------
The "if (outcnt == 1) func ();" bit is optimized for me with gcc-4.4.2 on
x86_64 at -O1 and -O2, but not at -Os. I was a bit too hasty to call this alias
related, it seems. The O2 and Os tree dumps start to diverge in the dom1 dump,
where we have just one call to func after dom1 at -O2 and still two calls at
-O2.
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|alias |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42494
More information about the Gcc-bugs
mailing list