summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/gcc/expr.c')
-rw-r--r--gnu/usr.bin/gcc/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/expr.c b/gnu/usr.bin/gcc/expr.c
index 2d307a2af67..39591c9efef 100644
--- a/gnu/usr.bin/gcc/expr.c
+++ b/gnu/usr.bin/gcc/expr.c
@@ -4582,7 +4582,7 @@ expand_expr (exp, target, tmode, modifier)
through a pointer to const does not mean that the value there can
never change. Languages where it can never change should
also set TREE_STATIC. */
- RTX_UNCHANGING_P (temp) = TREE_READONLY (exp) | TREE_STATIC (exp);
+ RTX_UNCHANGING_P (temp) = TREE_READONLY (exp) & TREE_STATIC (exp);
return temp;
}