]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR26597, FAIL: gdb.dlang/demangle.exp: _D8demangle4testFI5identZv
authorAlan Modra <amodra@gmail.com>
Thu, 10 Sep 2020 14:16:11 +0000 (23:46 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 10 Sep 2020 14:27:56 +0000 (23:57 +0930)
commit918619e5e591c492b1a67f8ce125aa8728eb4497
tree0a05f8a340c1caaed046f974fcc7da4f50910905
parent62ba50486f1146f0cfd33074fc127fe00a02e87e
PR26597, FAIL: gdb.dlang/demangle.exp: _D8demangle4testFI5identZv

gcc commit 387d0773f3 changed the D demangler, with the following
commit log:

    libiberty: Add support for `in' and `in ref' storage classes.

    The storage class `in' is now a first-class citizen with its own mangle
    symbol, of which also permits `in ref'.  Previously, `in' was an alias
    to `const [scope]', which is a type constructor.

    The mangle symbol repurposed for this is `I', which was originally used
    by identifier types.  However, while TypeIdentifier is part of the
    grammar, it must be resolved to some other entity during the semantic
    passes, and so shouldn't appear anywhere in the mangled name.

    Old tests that are now no longer valid have been removed.

This patch makes the same changes to the gdb testsuite as were made to
the upstream gcc libiberty testsuite.

gdb/testsuite/
PR 26597
* gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dlang/demangle.exp