https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87113
Bug ID: 87113 Summary: ICE in adjust_temp_type at cp/constexpr.c:1205 Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: svenja.mehringer at gmail dot com Target Milestone: --- Created attachment 44608 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44608&action=edit intermediate file that produces error See attached intermediate file (build with -std=c++17 -fconcepts). This produces the following error: test.cpp: In Funktion »int main()«: test.cpp:8:87: in constexpr-Ersetzung von »seqan3::qualified<seqan3::union_composition<seqan3::dna4, seqan3::gap>, seqan3::phred42>((seqan3::gap::GAP, seqan3::gap()))« test.cpp:8:87: interner Compiler-Fehler: in adjust_temp_type, bei cp/constexpr.c:1205 0x6d0c5c adjust_temp_type ../.././gcc/cp/constexpr.c:1205 0x6d344d cxx_bind_parameters_in_call ../.././gcc/cp/constexpr.c:1279 0x6d344d cxx_eval_call_expression ../.././gcc/cp/constexpr.c:1535 0x6d48c6 cxx_eval_constant_expression ../.././gcc/cp/constexpr.c:4010 0x6d44f3 cxx_eval_constant_expression ../.././gcc/cp/constexpr.c:4127 0x6d44f3 cxx_eval_constant_expression ../.././gcc/cp/constexpr.c:4127 0x6d499b cxx_eval_constant_expression ../.././gcc/cp/constexpr.c:4477 0x6d4eb8 cxx_eval_statement_list ../.././gcc/cp/constexpr.c:3743 0x6d4eb8 cxx_eval_constant_expression ../.././gcc/cp/constexpr.c:4471 0x6d3da6 cxx_eval_call_expression ../.././gcc/cp/constexpr.c:1642 0x6d48c6 cxx_eval_constant_expression ../.././gcc/cp/constexpr.c:4010 0x6d8614 cxx_eval_outermost_constant_expr ../.././gcc/cp/constexpr.c:4640 0x6da2fe maybe_constant_value(tree_node*, tree_node*) ../.././gcc/cp/constexpr.c:4855 0x6c64ea cp_fully_fold(tree_node*) ../.././gcc/cp/cp-gimplify.c:1976 0x5f9c4a store_init_value(tree_node*, tree_node*, vec<tree_node*, va_gc, vl_embed>**, int) ../.././gcc/cp/typeck2.c:841 0x5b7f6d check_initializer ../.././gcc/cp/decl.c:6365 0x5bb7ca cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int) ../.././gcc/cp/decl.c:7037 0x64a607 cp_parser_init_declarator ../.././gcc/cp/parser.c:19380 0x64ae4d cp_parser_simple_declaration ../.././gcc/cp/parser.c:12777 0x64ba55 cp_parser_block_declaration ../.././gcc/cp/parser.c:12602 Bitte senden Sie einen vollständigen Fehlerbericht auf Englisch ein; inclusive vorverarbeitetem Quellcode, wenn es dienlich ist. Please include the complete backtrace with any bug report. Weitere Hinweise finden Sie unter »<https://gcc.gnu.org/bugs/>«. Tested on % uname -a Linux epsilon 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u3 (2018-08-19) x86_64 GNU/Linux % g++-7.1.0 --version g++ (GCC) 7.1.0 Copyright (C) 2017 Free Software Foundation, Inc. Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es gibt KEINE Garantie; auch nicht für MARKTGÄNGIGKEIT oder FÜR SPEZIELLE ZWECKE. Verified on snapshots of g++8 and g++9