From: Alexandre Oliva Date: Fri, 9 Oct 2015 12:18:58 +0000 (+0000) Subject: [PR67891] don't test is_gimple_reg after parm expansion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=01a7166b4f3d97036af47b2d6b43391483261b42;p=gcc.git [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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cba70ef5669..cd9f3f7ef24 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 58e55d26341..eaad859f513 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);