toplev.c (flag_rounding_math): New global variable.
authorRoger Sayle <roger@eyesopen.com>
Wed, 3 Sep 2003 20:57:31 +0000 (20:57 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Wed, 3 Sep 2003 20:57:31 +0000 (20:57 +0000)
commit039c3d42d54967fab2bf452db7133388882a4204
treeda5fba2f01a46c7f97234721542e808b855bd505
parentb689848ffd7859ae06f14fe75ef770d1dc12d737
toplev.c (flag_rounding_math): New global variable.

* toplev.c (flag_rounding_math): New global variable.
(f_options): Add to the list of language independent options.
* flags.h (flag_rounding_math): Prototype here.
(HONOR_SIGN_DEPENDENT_ROUNDING): Use flag_rounding_math instead.
* common.opt (frounding-math): New common command line option.
* opts.c (common_handle_option): Handle OPT_frounding_math.
(set_fast_math_flags): -ffast-math clears flag_rounding_math.

* doc/invoke.texi: Document this new command line option.

From-SVN: r71032
gcc/ChangeLog
gcc/common.opt
gcc/doc/invoke.texi
gcc/flags.h
gcc/opts.c
gcc/toplev.c