[Bug c++/65198] [5 Regression] User-defined literal template inside generic lambda segfaults GCC 5.0
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 25 16:44:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65198
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed by r220656.
This crashes for me with 4.9 though:
0xb7e61f crash_signal
/home/marek/src/gcc/gcc/toplev.c:337
0xdbb3e4 contains_struct_check
/home/marek/src/gcc/gcc/tree.h:3047
0xdbb3e4 int_cst_value(tree_node const*)
/home/marek/src/gcc/gcc/tree.c:10526
0x652434 get_non_default_template_args_count
/home/marek/src/gcc/gcc/cp/error.c:186
0x65b4d1 dump_template_argument_list
/home/marek/src/gcc/gcc/cp/error.c:195
0x654905 dump_decl
/home/marek/src/gcc/gcc/cp/error.c:1181
0x65b497 expr_to_string
/home/marek/src/gcc/gcc/cp/error.c:2847
0x6600f4 cp_printer
/home/marek/src/gcc/gcc/cp/error.c:3443
0x10d95e3 pp_format(pretty_printer*, text_info*)
/home/marek/src/gcc/gcc/pretty-print.c:616
0x10d701c diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*)
/home/marek/src/gcc/gcc/diagnostic.c:797
0x10d7d8f internal_error(char const*, ...)
/home/marek/src/gcc/gcc/diagnostic.c:1136
0x70aa6b cxx_eval_constant_expression
/home/marek/src/gcc/gcc/cp/semantics.c:9833
0x70dc25 cxx_eval_outermost_constant_expr
/home/marek/src/gcc/gcc/cp/semantics.c:9853
0x71091b maybe_constant_value(tree_node*)
/home/marek/src/gcc/gcc/cp/semantics.c:9963
0x5d11c1 build_non_dependent_expr(tree_node*)
/home/marek/src/gcc/gcc/cp/pt.c:21564
0x6f9d22 finish_call_expr(tree_node*, vec<tree_node*, va_gc, vl_embed>**, bool,
bool, int)
/home/marek/src/gcc/gcc/cp/semantics.c:2250
0x67a61d cp_parser_userdef_numeric_literal
/home/marek/src/gcc/gcc/cp/parser.c:3926
0x67a61d cp_parser_primary_expression
/home/marek/src/gcc/gcc/cp/parser.c:4163
0x67b766 cp_parser_postfix_expression
/home/marek/src/gcc/gcc/cp/parser.c:5971
0x67e057 cp_parser_unary_expression
/home/marek/src/gcc/gcc/cp/parser.c:7172
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
More information about the Gcc-bugs
mailing list