summaryrefslogtreecommitdiffstats
path: root/gcc/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index e74cff435b6..08b51bacbff 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -3414,10 +3414,9 @@ type_list_equal (l1, l2)
for (t1 = l1, t2 = l2; t1 && t2; t1 = TREE_CHAIN (t1), t2 = TREE_CHAIN (t2))
if (TREE_VALUE (t1) != TREE_VALUE (t2)
|| (TREE_PURPOSE (t1) != TREE_PURPOSE (t2)
- && ! ((TREE_TYPE (TREE_PURPOSE (t1))
- == TREE_TYPE (TREE_PURPOSE (t2)))
- && 1 == simple_cst_equal (TREE_PURPOSE (t1),
- TREE_PURPOSE (t2)))))
+ && ! (1 == simple_cst_equal (TREE_PURPOSE (t1), TREE_PURPOSE (t2))
+ && (TREE_TYPE (TREE_PURPOSE (t1))
+ == TREE_TYPE (TREE_PURPOSE (t2))))))
return 0;
return t1 == t2;
OpenPOWER on IntegriCloud