[Bug c++/84454] New: [8 Regression] ICE in invalid_nonstatic_memfn_p at gcc/cp/typeck.c:1882
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 19 08:12:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84454
Bug ID: 84454
Summary: [8 Regression] ICE in invalid_nonstatic_memfn_p at
gcc/cp/typeck.c:1882
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: jason at gcc dot gnu.org
Target Milestone: ---
Starting from r247842 we ICE on:
$ g++ /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/cpp0x/pr67238.C
-Wpacked -fpack-struct
‘
Segmentation fault
return g([]{}, a...);
~^~~~~~~~~~~~
0xdcd60f crash_signal
../../gcc/toplev.c:325
0x850049 invalid_nonstatic_memfn_p(unsigned int, tree_node*, int)
../../gcc/cp/typeck.c:1882
0x82022e finish_decltype_type(tree_node*, bool, int)
../../gcc/cp/semantics.c:8724
0x7cbbe6 tsubst(tree_node*, tree_node*, int, tree_node*)
../../gcc/cp/pt.c:14439
0x6e3e3e dump_template_bindings
../../gcc/cp/error.c:397
0x6e3e3e dump_substitution
../../gcc/cp/error.c:1525
0x6e4a33 dump_substitution
../../gcc/cp/error.c:1673
0x6e4a33 dump_function_decl
../../gcc/cp/error.c:1681
0x6f12af decl_to_string
../../gcc/cp/error.c:3055
0x6f12af cp_printer
../../gcc/cp/error.c:4072
0x16fb9ea pp_format(pretty_printer*, text_info*)
../../gcc/pretty-print.c:1375
0x16fc090 pp_format_verbatim(pretty_printer*, text_info*)
../../gcc/pretty-print.c:1437
0x16fc164 pp_verbatim(pretty_printer*, char const*, ...)
../../gcc/pretty-print.c:1641
0x6e2445 print_instantiation_full_context
../../gcc/cp/error.c:3458
0x6ee025 maybe_print_instantiation_context
../../gcc/cp/error.c:3606
0x6ee025 cp_diagnostic_starter
../../gcc/cp/error.c:3299
0x16eb8fa diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*)
../../gcc/diagnostic.c:985
0x16ebcbe diagnostic_impl
../../gcc/diagnostic.c:1108
0x16ebfec warning(int, char const*, ...)
../../gcc/diagnostic.c:1199
0xdbf480 finalize_record_size
../../gcc/stor-layout.c:1742
More information about the Gcc-bugs
mailing list