diff options
Diffstat (limited to 'gcc/cp/mangle.c')
-rw-r--r-- | gcc/cp/mangle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index 5466ca9..a0260e1 100644 --- a/gcc/cp/mangle.c +++ b/gcc/cp/mangle.c @@ -509,7 +509,7 @@ find_substitution (node) std::basic_string <char, std::char_traits<char>, std::allocator<char> > . */ - if (CP_TYPE_QUALS (type) == TYPE_UNQUALIFIED + if (cp_type_quals (type) == TYPE_UNQUALIFIED && CLASSTYPE_USE_TEMPLATE (type)) { tree args = CLASSTYPE_TI_ARGS (type); @@ -535,7 +535,7 @@ find_substitution (node) /* Check for basic_{i,o,io}stream. */ if (TYPE_P (node) - && CP_TYPE_QUALS (type) == TYPE_UNQUALIFIED + && cp_type_quals (type) == TYPE_UNQUALIFIED && CLASS_TYPE_P (type) && CLASSTYPE_USE_TEMPLATE (type) && CLASSTYPE_TEMPLATE_INFO (type) != NULL) |