Hi Ian,

  The libiberty testsuite in the gcc mainline is currently failing on
  the last test:

    FAIL at line 1452, options :
    in:  _Z3fooILPv0EEvPN9enable_ifIXeqT_LDnEEvE4typeE
    out: void foo<(void*)0>(enable_if<((void*)0)==(decltype(nullptr)), 
void>::type*)
    exp: void foo<(void*)0>(enable_if<((void*)0)==((decltype(nullptr))), 
void>::type*)

  To me it looks like the expected demangling is incorrect - it wants a
  double set of parentheses around decltype(nullptr) when I think that
  only one is needed.  So I would like to apply the patch below to fix
  this.

  Is this OK ?

Cheers
  Nick

libiberty/ChangeLog
2020-01-20  Nick Clifton  <ni...@redhat.com>

        * testsuite/demangle-expected: Fix expected demangling.

Index: libiberty/testsuite/demangle-expected
===================================================================
--- libiberty/testsuite/demangle-expected       (revision 280157)
+++ libiberty/testsuite/demangle-expected       (working copy)
@@ -1449,4 +1449,4 @@
 #PR91979 demangling nullptr expression
 
 _Z3fooILPv0EEvPN9enable_ifIXeqT_LDnEEvE4typeE
-void foo<(void*)0>(enable_if<((void*)0)==((decltype(nullptr))), void>::type*)
+void foo<(void*)0>(enable_if<((void*)0)==(decltype(nullptr)), void>::type*)

Reply via email to