diff options
author | Geoffrey Keating <geoffk@redhat.com> | 2001-12-28 07:51:59 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2001-12-28 07:51:59 +0000 |
commit | 19f90fadbcd3565ba91d012c04df729acc917e21 (patch) | |
tree | 80b0c848bce1cb97aa9989e71849f80ef31ee104 /gcc/expr.c | |
parent | 9674c84284965acd942ca436b71aa051f070eeb3 (diff) | |
download | gcc-19f90fadbcd3565ba91d012c04df729acc917e21.zip gcc-19f90fadbcd3565ba91d012c04df729acc917e21.tar.gz gcc-19f90fadbcd3565ba91d012c04df729acc917e21.tar.bz2 |
expr.c (expand_expr): Don't mark memory for non-constants as constant.
* expr.c (expand_expr): Don't mark memory for non-constants as
constant.
From-SVN: r48338
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -8492,10 +8492,7 @@ expand_expr (exp, target, tmode, modifier) { /* If this object is in a register, it can't be BLKmode. */ tree inner_type = TREE_TYPE (TREE_OPERAND (exp, 0)); - tree nt = build_qualified_type (inner_type, - (TYPE_QUALS (inner_type) - | TYPE_QUAL_CONST)); - rtx memloc = assign_temp (nt, 1, 1, 1); + rtx memloc = assign_temp (inner_type, 1, 1, 1); if (GET_CODE (op0) == PARALLEL) /* Handle calls that pass values in multiple |