[Bug c++/70909] Libiberty Demangler segfaults (4)
matt at godbolt dot org
gcc-bugzilla@gcc.gnu.org
Mon Nov 21 18:14:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909
--- Comment #14 from Matt Godbolt <matt at godbolt dot org> ---
Created attachment 40101
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40101&action=edit
compile with gcc 6.2 -std=c++14
This reproduces the issue. Compile with g++ 6.2 and -std=c++14 to create a file
which contains the symbol:
_ZSt7forwardIR17predicate_matcherIZ11any_matcherIiEDavEUlOT_E_13typed_matcherIiEEES3_RNSt16remove_referenceIS2_E4typeE
This symbol crashes both c++filt (2.26.20160125) and gdb (7.10) in the same way
as this bug describes (d_print_comp infinite recursion).
More information about the Gcc-bugs
mailing list