summaryrefslogtreecommitdiff
path: root/gcc/ada/utils2.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-01 13:09:41 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-01 13:09:41 +0000
commitc1771f2c27753526ee0039d8781f85b88c38dcd6 (patch)
tree56f3536f7ec2acc99fd65b1c8562d2b55b676989 /gcc/ada/utils2.c
parent6747e89544499965113710e222655b7ab8e9d50a (diff)
downloadgcc-c1771f2c27753526ee0039d8781f85b88c38dcd6.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62245 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/utils2.c')
-rw-r--r--gcc/ada/utils2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/utils2.c b/gcc/ada/utils2.c
index 3777a5b2cdd..1d76d91ffd6 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: