[Bug gdb/21549] c-typeprint.c:262: internal-error: void cp_type_print_method_args(type*, const char*, const char*, int, ui_file*, const type_print_options*): Assertion `TYPE_CODE (args[0].type) == TYPE_CODE_PTR' failed.

linuxer at quantentunnel dot de sourceware-bugzilla@sourceware.org
Sat Jun 10 17:43:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=21549

--- Comment #9 from Johannes <linuxer at quantentunnel dot de> ---
(In reply to Johannes from comment #7)
> The ELF file was built with "g++ -std=c++11 -O2 -lto ..." in the compiling
> and the linking stage.

There is a typo in the compiler flags, it should read:
g++ -std=c++11 -O2 -flto ...

:-)

Johannes

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list