aboutsummaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2003-04-12 02:16:46 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2003-04-12 02:16:46 +0000
commita37db56bde9874b6f2113164e2a31c5bc12616c8 (patch)
tree743ad4a7d130f0376f5a69b500437fcf54a84cf5 /gcc/flags.h
parentdf0261868594f8e8c8ec2e1a369ca7fe867a2d02 (diff)
downloadgcc-a37db56bde9874b6f2113164e2a31c5bc12616c8.zip
gcc-a37db56bde9874b6f2113164e2a31c5bc12616c8.tar.gz
gcc-a37db56bde9874b6f2113164e2a31c5bc12616c8.tar.bz2
re PR c++/9393 (Anonymous namespaces and compiling the same file twice)
PR c++/9393 * doc/invoke.texi (Debugging Options): Document -frandom-seed. * configure.in: Check for gettimeofday. * tree.c (flag_random_seed): Define. (default_flag_random_seed): New. (append_random_chars): Use flag_random_seed rather than trying to acquire randomness here. * tree.h (default_flag_random_seed): Declare. * toplev.c (display_help): Add -frandom-seed and -fstack-limit-* descriptions. (decode_f_option): Handle -frandom-seed. (print_switch_values): Call default_flag_random_seed. * flags.h (flag_random_seed): Declare. * configure: Regenerate. * config.in: Regenerate. * config/alpha/t-crtfm: Use -frandom-seed. From-SVN: r65500
Diffstat (limited to 'gcc/flags.h')
-rw-r--r--gcc/flags.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index 1ca9de2..e02c3de 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -671,6 +671,11 @@ extern int flag_signaling_nans;
extern int flag_unit_at_a_time;
+/* A string that's used when a random name is required. NULL means
+ to make it really random. */
+
+extern const char *flag_random_seed;
+
/* True if the given mode has a NaN representation and the treatment of
NaN operands is important. Certain optimizations, such as folding
x * 0 into x, are not correct for NaN operands, and are normally