This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[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.
- From: "linuxer at quantentunnel dot de" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 10 Jun 2017 17:43:47 +0000
- Subject: [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.
- Auto-submitted: auto-generated
- References: <bug-21549-4717@http.sourceware.org/bugzilla/>
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.