From 6a10c856374446ab6d18eb9ce840c08cac440a61 Mon Sep 17 00:00:00 2001
From: Kugan Vivekanandarajah <kugan.vivekanandarajah@linaro.org>
Date: Tue, 1 Sep 2015 08:44:59 +1000
Subject: [PATCH 6/8] temporary workaround for bootstrap failure due to copy
coalescing
---
gcc/tree-ssa-coalesce.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
@@ -1384,11 +1384,13 @@ gimple_can_coalesce_p (tree name1, tree name2)
SSA_NAMEs. Now, if a parm or result has BLKmode, do not
coalesce its SSA versions with those of any other variables,
because it may be passed by reference. */
- return ((!var1 || VAR_P (var1)) && (!var2 || VAR_P (var2)))
+ return ((!var1 || VAR_P (var1)) && (!var2 || VAR_P (var2)));
+#if 0
|| (/* The case var1 == var2 is already covered above. */
!parm_in_stack_slot_p (var1)
&& !parm_in_stack_slot_p (var2)
&& promote_ssa_mode (name1, NULL) == promote_ssa_mode (name2, NULL));
+#endif
}
/* If the types are not the same, check for a canonical type match. This
--
1.9.1