https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71385
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-06-14 CC| |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- Confirmed on current trunk and GCC 6.1.1 with following back-trace: #35 0x00000000008afe74 in (anonymous namespace)::satisfy_conjunction (complain=0, in_decl=0x0, args=0x7ffff69e63a0, t=0x7ffff69ef2f8) at ../../gcc/cp/constraint.cc:1936 #36 (anonymous namespace)::satisfy_constraint_1 (t=0x7ffff69ef2f8, args=args@entry=0x7ffff69e63a0, in_decl=0x0, complain=0) at ../../gcc/cp/constraint.cc:1996 #37 0x00000000008afd2c in (anonymous namespace)::satisfy_parameterized_constraint (complain=0, in_decl=0x0, args=0x7ffff69e63a0, t=0x7ffff69ef320) at ../../gcc/cp/constraint.cc:1918 #38 (anonymous namespace)::satisfy_constraint_1 (t=t@entry=0x7ffff69ef320, args=0x7ffff69e63a0, in_decl=0x0, complain=0) at ../../gcc/cp/constraint.cc:1993 #39 0x00000000008b0277 in (anonymous namespace)::satisfy_constraint (t=0x7ffff69ef320, args=<optimized out>) at ../../gcc/cp/constraint.cc:2026 #40 0x00000000008b14f5 in constraints_satisfied_p (t=t@entry=0x7ffff69e6360, args=args@entry=0x7ffff69e63a0) at ../../gcc/cp/constraint.cc:2146 #41 0x00000000006d010b in do_auto_deduction (type=type@entry=0x7ffff69e8f18, init=init@entry=0x7ffff69ef140, auto_node=auto_node@entry=0x7ffff69e8f18, complain=complain@entry=0, context=context@entry=adc_requirement) at ../../gcc/cp/pt.c:24084 #42 0x00000000008afe15 in (anonymous namespace)::satisfy_argument_deduction_constraint (complain=0, in_decl=0x0, args=0x7ffff69e6300, t=<optimized out>) at ../../gcc/cp/constraint.cc:1879 #43 (anonymous namespace)::satisfy_constraint_1 (t=<optimized out>, args=args@entry=0x7ffff69e6300, in_decl=0x0, complain=0) at ../../gcc/cp/constraint.cc:1987 #44 0x00000000008afe74 in (anonymous namespace)::satisfy_conjunction (complain=0, in_decl=0x0, args=0x7ffff69e6300, t=0x7ffff69ef0c8) at ../../gcc/cp/constraint.cc:1936 #45 (anonymous namespace)::satisfy_constraint_1 (t=0x7ffff69ef0c8, args=args@entry=0x7ffff69e6300, in_decl=0x0, complain=0) at ../../gcc/cp/constraint.cc:1996 #46 0x00000000008afd2c in (anonymous namespace)::satisfy_parameterized_constraint (complain=0, in_decl=0x0, args=0x7ffff69e6300, t=0x7ffff69ef0f0) at ../../gcc/cp/constraint.cc:1918 #47 (anonymous namespace)::satisfy_constraint_1 (t=t@entry=0x7ffff69ef0f0, args=0x7ffff69e6300, in_decl=0x0, complain=0) at ../../gcc/cp/constraint.cc:1993 #48 0x00000000008b0277 in (anonymous namespace)::satisfy_constraint (t=0x7ffff69ef0f0, args=<optimized out>) at ../../gcc/cp/constraint.cc:2026 #49 0x00000000008b14f5 in constraints_satisfied_p (t=t@entry=0x7ffff69e62c0, args=args@entry=0x7ffff69e6300) at ../../gcc/cp/constraint.cc:2146 #50 0x00000000006d010b in do_auto_deduction (type=type@entry=0x7ffff69e8f18, init=0x7ffff68a21f8, auto_node=auto_node@entry=0x7ffff69e8f18, complain=complain@entry=3, context=context@entry=adc_variable_type) at ../../gcc/cp/pt.c:24084 #51 0x00000000006a4090 in cp_finish_decl (decl=decl@entry=0x7ffff7fedc60, init=init@entry=0x7ffff68a21f8, init_const_expr_p=true, asmspec_tree=<optimized out>, asmspec_tree@entry=0x0, flags=5) at ../../gcc/cp/decl.c:6625 #52 0x00000000007a59fe in cp_parser_init_declarator (parser=parser@entry=0x7ffff7fed990, decl_specifiers=decl_specifiers@entry=0x7fffffffd300, checks=checks@entry=0x0, function_definition_allowed_p=function_definition_allowed_p@entry=false, member_p=member_p@entry=false, declares_class_or_enum=<optimized out>, function_definition_p=0x7fffffffd2ef, maybe_range_for_decl=0x0, init_loc=0x7fffffffd2f4, auto_result=0x7fffffffd2f8) at ../../gcc/cp/parser.c:18697 #53 0x00000000007a60d2 in cp_parser_simple_declaration (parser=parser@entry=0x7ffff7fed990, function_definition_allowed_p=false, maybe_range_for_decl=maybe_range_for_decl@entry=0x0) at ../../gcc/cp/parser.c:12378 #54 0x00000000007a63db in cp_parser_block_declaration (parser=0x7ffff7fed990, statement_p=statement_p@entry=true) at ../../gcc/cp/parser.c:12246 #55 0x00000000007a6ea9 in cp_parser_declaration_statement (parser=parser@entry=0x7ffff7fed990) at ../../gcc/cp/parser.c:11858 #56 0x00000000007a388c in cp_parser_statement (parser=parser@entry=0x7ffff7fed990, in_statement_expr=in_statement_expr@entry=0x0, in_compound=<optimized out>, in_compound@entry=true, if_p=if_p@entry=0x0, chain=chain@entry=0x0) at ../../gcc/cp/parser.c:10526 #57 0x00000000007a422d in cp_parser_statement_seq_opt (parser=parser@entry=0x7ffff7fed990, in_statement_expr=in_statement_expr@entry=0x0) at ../../gcc/cp/parser.c:10804 #58 0x00000000007a4340 in cp_parser_compound_statement (parser=parser@entry=0x7ffff7fed990, in_statement_expr=in_statement_expr@entry=0x0, bcs_flags=bcs_flags@entry=0, function_body=function_body@entry=true) at ../../gcc/cp/parser.c:10758 #59 0x00000000007a4511 in cp_parser_function_body (in_function_try_block=false, parser=0x7ffff7fed990) at ../../gcc/cp/parser.c:20696 #60 cp_parser_ctor_initializer_opt_and_function_body (parser=parser@entry=0x7ffff7fed990, in_function_try_block=in_function_try_block@entry=false) at ../../gcc/cp/parser.c:20732 #61 0x00000000007a4fd2 in cp_parser_function_definition_after_declarator (parser=parser@entry=0x7ffff7fed990, inline_p=inline_p@entry=false) at ../../gcc/cp/parser.c:25416 #62 0x00000000007a5db3 in cp_parser_function_definition_from_specifiers_and_declarator (declarator=<optimized out>, attributes=0x0, decl_specifiers=0x7fffffffd600, parser=0x7ffff7fed990) at ../../gcc/cp/parser.c:25328 #63 cp_parser_init_declarator (parser=parser@entry=0x7ffff7fed990, decl_specifiers=decl_specifiers@entry=0x7fffffffd720, checks=checks@entry=0x0, function_definition_allowed_p=function_definition_allowed_p@entry=true, member_p=member_p@entry=false, declares_class_or_enum=<optimized out>, function_definition_p=0x7fffffffd70f, maybe_range_for_decl=0x0, init_loc=0x7fffffffd714, auto_result=0x7fffffffd718) at ../../gcc/cp/parser.c:18468 #64 0x00000000007a60d2 in cp_parser_simple_declaration (parser=parser@entry=0x7ffff7fed990, function_definition_allowed_p=true, maybe_range_for_decl=maybe_range_for_decl@entry=0x0) at ../../gcc/cp/parser.c:12378 #65 0x00000000007a63db in cp_parser_block_declaration (parser=parser@entry=0x7ffff7fed990, statement_p=statement_p@entry=false) at ../../gcc/cp/parser.c:12246 ---Type <return> to continue, or q <return> to quit--- #66 0x00000000007afd25 in cp_parser_declaration (parser=parser@entry=0x7ffff7fed990) at ../../gcc/cp/parser.c:12143 #67 0x00000000007ae597 in cp_parser_declaration_seq_opt (parser=parser@entry=0x7ffff7fed990) at ../../gcc/cp/parser.c:12022 #68 0x00000000007ae8bd in cp_parser_translation_unit (parser=0x7ffff7fed990) at ../../gcc/cp/parser.c:4324 #69 c_parse_file () at ../../gcc/cp/parser.c:37486 #70 0x000000000090d693 in c_common_parse_file () at ../../gcc/c-family/c-opts.c:1064 #71 0x0000000000d8b12f in compile_file () at ../../gcc/toplev.c:465 #72 0x000000000065b3f4 in do_compile () at ../../gcc/toplev.c:1998 #73 toplev::main (this=this@entry=0x7fffffffd9a0, argc=argc@entry=13, argv=argv@entry=0x7fffffffdaa8) at ../../gcc/toplev.c:2127 #74 0x000000000065d647 in main (argc=13, argv=0x7fffffffdaa8) at ../../gcc/main.c:39