summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-09 12:18:58 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-09 12:18:58 +0000
commitb94cb4704526cffc09ea17fa10d6f91276467898 (patch)
tree07a9bc504a7b202c8f5ebf573fdd1253926a87a7
parent418882d0e8ce3483496634edb79d61b9d86fbf67 (diff)
downloadgcc-b94cb4704526cffc09ea17fa10d6f91276467898.tar.gz
[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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228652 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/cfgexpand.c3
2 files changed, 3 insertions, 3 deletions
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 <aoliva@redhat.com>
+ 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);