aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-03-28 23:46:50 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-03-28 21:46:50 +0000
commit88cc1e04bd259dda9e84fc92e3e33e25213c4d46 (patch)
tree03d694c6b00fbe271075e4a351217304ce819944 /gcc/cgraph.c
parentf48aa01a62442f2307c42473c782c7c0a9c99190 (diff)
downloadgcc-88cc1e04bd259dda9e84fc92e3e33e25213c4d46.zip
gcc-88cc1e04bd259dda9e84fc92e3e33e25213c4d46.tar.gz
gcc-88cc1e04bd259dda9e84fc92e3e33e25213c4d46.tar.bz2
re PR tree-optimization/43505 (type mismatch between an SSA_NAME and its symbol with -O3)
PR tree-optimization/43505 * cgraph.c (cgraph_clone_node): When clonning a clone, replacement map should not be copied. * gfortran.dg/pr43505.f90: New testcase. From-SVN: r157786
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r--gcc/cgraph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index 0e02bae..8fe72b4 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -1891,6 +1891,7 @@ cgraph_clone_node (struct cgraph_node *n, gcov_type count, int freq,
new_node->rtl = n->rtl;
new_node->count = count;
new_node->clone = n->clone;
+ new_node->clone.tree_map = 0;
if (n->count)
{
if (new_node->count > n->count)