diff options
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r-- | gcc/cp/pt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index b62cc3dbaa5..2a8296efef0 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -2905,7 +2905,7 @@ canonical_type_parameter (tree type) VEC_safe_push (tree, gc, canonical_template_parms, NULL_TREE); list = VEC_index (tree, canonical_template_parms, idx); - while (list && !comptypes (type, TREE_VALUE (list), COMPARE_STRUCTURAL)) + while (list && !cp_comptypes (type, TREE_VALUE (list), COMPARE_STRUCTURAL)) list = TREE_CHAIN (list); if (list) |