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/ada | |
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/ada')
-rw-r--r-- | gcc/ada/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/ada/gnat_ug.texi | 6 | ||||
-rw-r--r-- | gcc/ada/gnat_ug_vxw.texi | 6 | ||||
-rw-r--r-- | gcc/ada/utils2.c | 4 |
4 files changed, 14 insertions, 8 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 328296b..d5f612d 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,9 @@ +2003-02-01 Richard Sandiford <rsandifo@redhat.com> + + * utils2.c (build_unary_op): Don't check flag_volatile. + * gnat_ug.texi: Remove -fvolatile from example. + * gnat_ug_vxw.texi: Likewise. + 2003-01-29 Laurent Guerby <guerby@acm.org> PR ada/8344 diff --git a/gcc/ada/gnat_ug.texi b/gcc/ada/gnat_ug.texi index 8faa273..be71814 100644 --- a/gcc/ada/gnat_ug.texi +++ b/gcc/ada/gnat_ug.texi @@ -24047,7 +24047,7 @@ For a list of all available switches, refer to the sections describing Here is an example that passes the option @code{-v} to the GNAT compiler : @smallexample -g -mstrict-align -prjtype $(PRJ_TYPE) -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT --fvolatile -fno-builtin -fno-for-scope -I. -I/usr/windppc-2.0/target/h -DCPU=PPC604 +-fno-builtin -fno-for-scope -I. -I/usr/windppc-2.0/target/h -DCPU=PPC604 -cargs -v @end smallexample @@ -24056,7 +24056,7 @@ Here is an example that passes the option @code{-v} to the GNAT compiler, binder and @code{-v} and @code{-g} to the compiler : @smallexample -g -mstrict-align -prjtype $(PRJ_TYPE) -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT --fvolatile -fno-builtin -fno-for-scope -I. -I/usr/windppc-2.0/target/h -DCPU=PPC604 +-fno-builtin -fno-for-scope -I. -I/usr/windppc-2.0/target/h -DCPU=PPC604 -cargs -v -g -O2 -bargs -v -largs -v @end smallexample @@ -24065,7 +24065,7 @@ In both examples, the following arguments have been automatically added by the P Facility, and will be used by the C compiler. @smallexample -g -mstrict-align -prjtype $(PRJ_TYPE) -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT --fvolatile -fno-builtin -fno-for-scope -I. -I/usr/windppc-2.0/target/h -DCPU=PPC604 +-fno-builtin -fno-for-scope -I. -I/usr/windppc-2.0/target/h -DCPU=PPC604 @end smallexample @noindent diff --git a/gcc/ada/gnat_ug_vxw.texi b/gcc/ada/gnat_ug_vxw.texi index 6ea120e..0c61304 100644 --- a/gcc/ada/gnat_ug_vxw.texi +++ b/gcc/ada/gnat_ug_vxw.texi @@ -19279,7 +19279,7 @@ For a list of all available switches, refer to the sections describing Here is an example that passes the option @code{-v} to the GNAT compiler : @smallexample -g -mstrict-align -prjtype $(PRJ_TYPE) -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT --fvolatile -fno-builtin -fno-for-scope -I. -I/usr/windppc-2.0/target/h -DCPU=PPC604 +-fno-builtin -fno-for-scope -I. -I/usr/windppc-2.0/target/h -DCPU=PPC604 -cargs -v @end smallexample @@ -19288,7 +19288,7 @@ Here is an example that passes the option @code{-v} to the GNAT compiler, binder and @code{-v} and @code{-g} to the compiler : @smallexample -g -mstrict-align -prjtype $(PRJ_TYPE) -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT --fvolatile -fno-builtin -fno-for-scope -I. -I/usr/windppc-2.0/target/h -DCPU=PPC604 +-fno-builtin -fno-for-scope -I. -I/usr/windppc-2.0/target/h -DCPU=PPC604 -cargs -v -g -O2 -bargs -v -largs -v @end smallexample @@ -19297,7 +19297,7 @@ In both examples, the following arguments have been automatically added by the P Facility, and will be used by the C compiler. @smallexample -g -mstrict-align -prjtype $(PRJ_TYPE) -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT --fvolatile -fno-builtin -fno-for-scope -I. -I/usr/windppc-2.0/target/h -DCPU=PPC604 +-fno-builtin -fno-for-scope -I. -I/usr/windppc-2.0/target/h -DCPU=PPC604 @end smallexample @noindent diff --git a/gcc/ada/utils2.c b/gcc/ada/utils2.c index 3777a5b..1d76d91 100644 --- a/gcc/ada/utils2.c +++ b/gcc/ada/utils2.c @@ -1275,8 +1275,8 @@ build_unary_op (op_code, result_type, operand) TREE_READONLY (result) = TREE_READONLY (TREE_TYPE (type)); } - side_effects = flag_volatile - || (! TYPE_FAT_POINTER_P (type) && TYPE_VOLATILE (TREE_TYPE (type))); + side_effects = (! TYPE_FAT_POINTER_P (type) + && TYPE_VOLATILE (TREE_TYPE (type))); break; case NEGATE_EXPR: |