From 19f90fadbcd3565ba91d012c04df729acc917e21 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Fri, 28 Dec 2001 07:51:59 +0000 Subject: 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 --- gcc/expr.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gcc/expr.c') diff --git a/gcc/expr.c b/gcc/expr.c index 92a01dc..98a56cd 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -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 -- cgit v1.1