aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2009-07-05 07:38:24 +0000
committerAlexandre Oliva <aoliva@redhat.com>2009-07-05 07:38:24 +0000
commitef6c0c5f141d809b5f5cce1a492839b9d3becb12 (patch)
treeea6118ed28ae0d61c97b1f1253617ae33302a757 /gcc/cp/tree.c
parenta97add2ce9430744a2a0c867d9b9ccfb786b693a (diff)
Merged with gcc-4_4-branch@149247.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/var-tracking-assignments-4_4-branch@149252 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r--gcc/cp/tree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index b4b977ef1a9..b1a65b05218 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -1880,8 +1880,7 @@ cp_tree_equal (tree t1, tree t2)
case PARM_DECL:
/* For comparing uses of parameters in late-specified return types
with an out-of-class definition of the function. */
- if (same_type_p (TREE_TYPE (t1), TREE_TYPE (t2))
- && parm_index (t1) == parm_index (t2))
+ if (same_type_p (TREE_TYPE (t1), TREE_TYPE (t2)))
return true;
else
return false;