From e7fcc71eb954d18b159ac4c7ab70e6f0597ef14b Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Fri, 15 Dec 2017 14:02:53 -0500 Subject: [PATCH 28/34] FIXME: handle wrappers in mangle.c --- gcc/cp/mangle.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index 6d4e591..837796b 100644 --- a/gcc/cp/mangle.c +++ b/gcc/cp/mangle.c @@ -2834,6 +2834,7 @@ write_expression (tree expr) /* Skip NOP_EXPR and CONVERT_EXPR. They can occur when (say) a pointer argument is converted (via qualification conversions) to another type. */ while (CONVERT_EXPR_CODE_P (code) + || location_wrapper_p (expr) /* Parentheses aren't mangled. */ || code == PAREN_EXPR || code == NON_LVALUE_EXPR) -- 1.8.5.3