[gfortran,patch] Use short-circuiting IF and AND expressions in gfortran
Mon Mar 5 06:49:00 GMT 2007
Attached patch changes some uses of TRUTH_(AND|OR)_EXPR to their
short-circuiting equivalents, TRUTH_(AND|OR)IF_EXPR. Most of these
conditions were written by yours truly, and are used in the
evaluation of array section extents (to detect zero-sized array
I'm not sure whether this can really help the middle-end and
optimizers, and couldn't measure any performance gain on some
generated executables, but I think it's worth doing nonetheless.
Bootstrapped and regtested on i686-linux, OK for mainline?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3899 bytes
Desc: not available
More information about the Gcc-patches