diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-10-16 13:13:21 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-10-16 13:13:21 +0100 |
commit | 7bb3487f8f8f8b849f3b8735481f3fd8e88ec09c (patch) | |
tree | be148ffa184ab91c4822bea3c64fbadecaa527d4 /gcc/opts.c | |
parent | 0a587f65653b553099daff424f1d2d1dca7393cb (diff) | |
download | gcc-7bb3487f8f8f8b849f3b8735481f3fd8e88ec09c.zip gcc-7bb3487f8f8f8b849f3b8735481f3fd8e88ec09c.tar.gz gcc-7bb3487f8f8f8b849f3b8735481f3fd8e88ec09c.tar.bz2 |
opts.c (set_fast_math_flags, [...]): Make static.
* opts.c (set_fast_math_flags,
set_unsafe_math_optimizations_flags): Make static.
* toplev.h (set_fast_math_flags,
set_unsafe_math_optimizations_flags): Remove prototypes.
From-SVN: r165540
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -369,6 +369,8 @@ static void complain_wrong_lang (const struct cl_decoded_option *, unsigned int lang_mask); static void set_debug_level (enum debug_info_type type, int extended, const char *arg); +static void set_fast_math_flags (int set); +static void set_unsafe_math_optimizations_flags (int set); /* Return a malloced slash-separated list of languages in MASK. */ static char * @@ -2175,7 +2177,7 @@ set_Wstrict_aliasing (int onoff) /* The following routines are useful in setting all the flags that -ffast-math and -fno-fast-math imply. */ -void +static void set_fast_math_flags (int set) { flag_unsafe_math_optimizations = set; @@ -2192,7 +2194,7 @@ set_fast_math_flags (int set) /* When -funsafe-math-optimizations is set the following flags are set as well. */ -void +static void set_unsafe_math_optimizations_flags (int set) { flag_trapping_math = !set; |