summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-10 00:50:24 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-10 00:50:24 +0000
commitac8830efd19fee2905cee8c06d1095e46af48a72 (patch)
treee7947bab8da89693b36d2050f360319989c39457 /gcc/function.c
parentc4e25272e9cee6cc44a9ee0f229eb96ffa3e1078 (diff)
downloadgcc-ac8830efd19fee2905cee8c06d1095e46af48a72.tar.gz
PR middle-end/17367
* function.c (assign_parm_setup_block): Only put PARALLELs into a register if use_register_for_decl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87268 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 452de0ccb40..29ab3e4d852 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -2535,7 +2535,7 @@ assign_parm_setup_block (tree parm, struct assign_parm_data_one *data)
if (GET_CODE (entry_parm) == PARALLEL
&& data->nominal_mode != BLKmode
&& XVECLEN (entry_parm, 0) > 1
- && optimize)
+ && use_register_for_decl (parm))
{
rtx parmreg = gen_reg_rtx (data->nominal_mode);