------- Comment #3 from ramana at gcc dot gnu dot org 2009-12-29 12:44 ------- Steven,
(In reply to comment #2) > 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. Yes it seems to go away at O1 and O2. I didn't see any comment from you earlier so not sure what you are referring to here. > 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. > FWIW I saw this removed by dom2 in trunk at -Os. In any case I think the component ought to be tree-optimization and changed. Cheers Ramana -- ramana at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |tree-optimization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42494