diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2003-02-01 13:09:41 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2003-02-01 13:09:41 +0000 |
commit | 271bd540d12af3d965059fb09b5311224fb3214c (patch) | |
tree | 56f3536f7ec2acc99fd65b1c8562d2b55b676989 /gcc/toplev.c | |
parent | 3123c967cc071b53150074d5cc27dab503244888 (diff) | |
download | gcc-271bd540d12af3d965059fb09b5311224fb3214c.zip gcc-271bd540d12af3d965059fb09b5311224fb3214c.tar.gz gcc-271bd540d12af3d965059fb09b5311224fb3214c.tar.bz2 |
flags.h (flag_volatile): Remove declaration.
* flags.h (flag_volatile): Remove declaration.
(flag_volatile_global, flag_volatile_static): Likewise.
* c-typeck.c (build_indirect_ref): Don't check flag_volatile.
* toplev.c (flag_volatile): Remove definition.
(flag_volatile_global, flag_volatile_static): Likewise.
(f_options): Remove corresponding entries here.
* varasm.c (make_decl_rtl): Don't check flag_volatile_global
or flag_volatile_static.
* doc/invoke.texi: Remove documentation of -fvolatile,
-fvolatile-global and -fvolatile-static.
cp/
* typeck.c (build_indirect_ref): Don't check flag_volatile.
ada/
* utils2.c (build_unary_op): Don't check flag_volatile.
* gnat_ug.texi: Remove -fvolatile from example.
* gnat_ug_vxw.texi: Likewise.
testsuite/
* g++.dg/init/new1.C: Remove -fvolatile dg-options line.
* g++.dg/init/new2.C: Likewise.
* g++.dg/other/new1.C: Likewise.
From-SVN: r62245
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 3ab85ad..f783ed9 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -606,18 +606,6 @@ int flag_signaling_nans = 0; int flag_complex_divide_method = 0; -/* Nonzero means all references through pointers are volatile. */ - -int flag_volatile; - -/* Nonzero means treat all global and extern variables as volatile. */ - -int flag_volatile_global; - -/* Nonzero means treat all static variables as volatile. */ - -int flag_volatile_static; - /* Nonzero means just do syntax checking; don't output anything. */ int flag_syntax_only = 0; @@ -986,12 +974,6 @@ static const lang_independent_options f_options[] = N_("Perform DWARF2 duplicate elimination") }, {"float-store", &flag_float_store, 1, N_("Do not store floats in registers") }, - {"volatile", &flag_volatile, 1, - N_("Consider all mem refs through pointers as volatile") }, - {"volatile-global", &flag_volatile_global, 1, - N_("Consider all mem refs to global data to be volatile") }, - {"volatile-static", &flag_volatile_static, 1, - N_("Consider all mem refs to static data to be volatile") }, {"defer-pop", &flag_defer_pop, 1, N_("Defer popping functions args from stack until later") }, {"omit-frame-pointer", &flag_omit_frame_pointer, 1, |