summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-copyrename.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-07 19:02:54 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-07 19:02:54 +0000
commit3b777bfb43410684ccba93c320a88d01456d8db9 (patch)
treef24e332333fb703a4b36ca697ba2af135e98daca /gcc/tree-ssa-copyrename.c
parentd3e794252245eec7dc5b1e54844ed9109402f807 (diff)
downloadgcc-3b777bfb43410684ccba93c320a88d01456d8db9.tar.gz
2010-12-07 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 167556 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@167562 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-copyrename.c')
-rw-r--r--gcc/tree-ssa-copyrename.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-ssa-copyrename.c b/gcc/tree-ssa-copyrename.c
index 41d43a6179c..abee6b9407f 100644
--- a/gcc/tree-ssa-copyrename.c
+++ b/gcc/tree-ssa-copyrename.c
@@ -226,11 +226,11 @@ copy_rename_partition_coalesce (var_map map, tree var1, tree var2, FILE *debug)
ign2 = false;
}
- /* Don't coalesce if the two variables aren't type compatible. */
- if (!types_compatible_p (TREE_TYPE (root1), TREE_TYPE (root2)))
+ /* Don't coalesce if the two variables are not of the same type. */
+ if (TREE_TYPE (root1) != TREE_TYPE (root2))
{
if (debug)
- fprintf (debug, " : Incompatible types. No coalesce.\n");
+ fprintf (debug, " : Different types. No coalesce.\n");
return false;
}