From 271bd540d12af3d965059fb09b5311224fb3214c Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Sat, 1 Feb 2003 13:09:41 +0000 Subject: 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 --- gcc/toplev.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'gcc/toplev.c') 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, -- cgit v1.1