This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Fix CSE handling of COMPARE
>>>>> "Franz" == Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:
Franz> Sorry, I shouldn't have been that terse, the _first_ call
Franz> to __bad_udelay() isn't optimized away with -O2 and I fear
Kenner has volunteered to take a look at this, which is good, because
he may make more progress than I.
He's already validated the change that I made as being correct.
So, this *is* a regression -- but it may not be one we can do much
about, if the only way we have to get the good optimization is to
generate wrong code sometimes.
Kenner is going to look at other approaches to getting the same
optimization, which would be good.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com