diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2014-03-20 11:35:22 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2014-03-20 11:35:22 +0000 |
commit | 9ee5337dd54630e6f0b2d98dc104a8c05d24384d (patch) | |
tree | 54c489ab22247d4fa7fb01653d3a05e24e36c82e /gcc/calls.c | |
parent | 9964e8304b1ea841583e3aea27fdbc65281e0ed3 (diff) | |
download | gcc-9ee5337dd54630e6f0b2d98dc104a8c05d24384d.zip gcc-9ee5337dd54630e6f0b2d98dc104a8c05d24384d.tar.gz gcc-9ee5337dd54630e6f0b2d98dc104a8c05d24384d.tar.bz2 |
calls.c (store_one_arg): Remove incorrect const qualification on the type of the temporary.
* calls.c (store_one_arg): Remove incorrect const qualification on the
type of the temporary.
* cfgexpand.c (expand_return): Likewise.
* expr.c (expand_constructor): Likewise.
(expand_expr_real_1): Likewise.
From-SVN: r208694
Diffstat (limited to 'gcc/calls.c')
-rw-r--r-- | gcc/calls.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index f392319..f0c92dd 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -4451,11 +4451,8 @@ store_one_arg (struct arg_data *arg, rtx argblock, int flags, if (save_mode == BLKmode) { - tree ot = TREE_TYPE (arg->tree_value); - tree nt = build_qualified_type (ot, (TYPE_QUALS (ot) - | TYPE_QUAL_CONST)); - - arg->save_area = assign_temp (nt, 1, 1); + arg->save_area + = assign_temp (TREE_TYPE (arg->tree_value), 1, 1); preserve_temp_slots (arg->save_area); emit_block_move (validize_mem (arg->save_area), stack_area, GEN_INT (arg->locate.size.constant), |