From 01a7166b4f3d97036af47b2d6b43391483261b42 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 9 Oct 2015 12:18:58 +0000 Subject: [PATCH] [PR67891] don't test is_gimple_reg after parm expansion for gcc/ChangeLog PR middle-end/67891 * cfgexpand.c (set_parm_rtl): Drop is_gimple_reg test. From-SVN: r228652 --- gcc/ChangeLog | 3 +++ gcc/cfgexpand.c | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cba70ef..cd9f3f7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2015-10-09 Alexandre Oliva + PR middle-end/67891 + * cfgexpand.c (set_parm_rtl): Drop is_gimple_reg test. + PR middle-end/67766 * function.c (expand_function_end): Move return value promotion past the handling of PARALLELs and CONCATs. diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 58e55d2..eaad859 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -1243,9 +1243,6 @@ set_parm_rtl (tree parm, rtx x) record_alignment_for_reg_var (align); } - if (!is_gimple_reg (parm)) - return set_rtl (parm, x); - tree ssa = ssa_default_def (cfun, parm); if (!ssa) return set_rtl (parm, x); -- 2.7.4