This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Reorder some tree codes
Daniel Jacobowitz wrote:
On Mon, Dec 20, 2004 at 07:53:43AM -0800, Mark Mitchell wrote:
I'm sympathetic to the idea that it would be cooler to improve the
middle end so that it did this optimization itself, but I don't know how
hard that would be. Does anyone have an idea about that? (The
documentation issue remains in this case, in that someone might reorder
the codes, and then we have a performance degradation, if it's no longer
possible to collapse the checks into a range check.)
Are we sure that it doesn't already do this?
I'm not. But, I imagine Nathan can verify that quickly enough.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304