Commit 01a7166b by Alexandre Oliva Committed by Alexandre Oliva

[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
parent fc5851fe
2015-10-09 Alexandre Oliva <aoliva@redhat.com> 2015-10-09 Alexandre Oliva <aoliva@redhat.com>
PR middle-end/67891
* cfgexpand.c (set_parm_rtl): Drop is_gimple_reg test.
PR middle-end/67766 PR middle-end/67766
* function.c (expand_function_end): Move return value * function.c (expand_function_end): Move return value
promotion past the handling of PARALLELs and CONCATs. promotion past the handling of PARALLELs and CONCATs.
...@@ -1243,9 +1243,6 @@ set_parm_rtl (tree parm, rtx x) ...@@ -1243,9 +1243,6 @@ set_parm_rtl (tree parm, rtx x)
record_alignment_for_reg_var (align); record_alignment_for_reg_var (align);
} }
if (!is_gimple_reg (parm))
return set_rtl (parm, x);
tree ssa = ssa_default_def (cfun, parm); tree ssa = ssa_default_def (cfun, parm);
if (!ssa) if (!ssa)
return set_rtl (parm, x); return set_rtl (parm, x);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment