set_unsafe_math_optimizations_flags): Make static.
* toplev.h (set_fast_math_flags,
set_unsafe_math_optimizations_flags): Remove prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165540
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-10-16 Joseph Myers <joseph@codesourcery.com>
+
+ * 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.
+
2010-10-16 Joseph Myers <joseph@codesourcery.com>
* config/arm/arm.c (arm_option_optimization): Set
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 *
/* 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;
/* 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;
/* The hashtable, so that the C front ends can pass it to cpplib. */
extern struct ht *ident_hash;
-/* This function can be used by targets to set the flags originally
- implied by -ffast-math and -fno-fast-math. */
-
-extern void set_fast_math_flags (int);
-
-extern void set_unsafe_math_optimizations_flags (int);
-
/* Handle -d switch. */
extern void decode_d_option (const char *);