[Bug libstdc++/87308] pretty printer for std::any fails with: Python Exception <type 'exceptions.ValueError'> Unknown manager function in std::any

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 8 14:16:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87308

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Fri Feb  8 14:15:36 2019
New Revision: 268692

URL: https://gcc.gnu.org/viewcvs?rev=268692&root=gcc&view=rev
Log:
PR libstdc++/87308 adjust regex used in std::any pretty printer

The regex used in the backported patch is simpler than the one in trunk,
because it appears that LTO mangles the debug info on the branch,
causing it to fail to match sometimes. The new test is also omitted from
the branch, because it fails for the same reason.

Backport from mainline
2018-11-23  Jonathan Wakely  <jwakely@redhat.com>

        PR libstdc++/87308 (partial)
        * python/libstdcxx/v6/printers.py (StdExpAnyPrinter): Adjust regex to
        work around PR 88166.

Modified:
    branches/gcc-8-branch/libstdc++-v3/ChangeLog
    branches/gcc-8-branch/libstdc++-v3/python/libstdcxx/v6/printers.py


More information about the Gcc-bugs mailing list