[PATCH] Add -fno-short-circuit-optimize

Mark Mitchell mark@codesourcery.com
Mon Aug 25 21:35:00 GMT 2008


Tristan Gingold wrote:

> 2008-08-22  Tristan Gingold  <gingold@adacore.com>
> 
>     * common.opt (fshort-circuit-optimize): New.
>     * doc/invoke.texi (Optimize Options): Document
>     -fno-short-circuit-optimize.
>     * fold-const.c (combine_comparisons): Do not optimize short-circuit
>     operations if -fno-short-circuit-optimize.
>     (fold_range_test): Ditto.
>     (fold_truthop): Ditto.
>     (fold_binary): Ditto.

Independent of the technical details, the new documentation needs some
copy-editing.  It looks like all the right content is there, but there
are lots of bits that aren't quite grammatical.  Please work with
someone to try to tidy that up.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list