https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67762
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-09-29 Ever confirmed|0 |1 --- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Confirmed. I'll reduce this to something more usable. Note that I get ICE with gcc-5: In file included from /var/tmp/cmcstl2/include/stl2/type_traits.hpp:16:0, from /var/tmp/cmcstl2/test/variant.cpp:15: /var/tmp/cmcstl2/include/stl2/detail/fwd.hpp:47:5: error: ‘requires’ does not name a type In file included from /var/tmp/cmcstl2/include/stl2/type_traits.hpp:18:0, from /var/tmp/cmcstl2/test/variant.cpp:15: /var/tmp/cmcstl2/include/stl2/detail/concepts/core.hpp:24:3: error: ‘concept’ does not name a type /var/tmp/cmcstl2/include/stl2/detail/concepts/core.hpp:27:3: error: ‘concept’ does not name a type /var/tmp/cmcstl2/include/stl2/detail/concepts/core.hpp:30:3: error: ‘concept’ does not name a type /var/tmp/cmcstl2/include/stl2/detail/concepts/core.hpp:33:3: error: ‘concept’ does not name a type /var/tmp/cmcstl2/include/stl2/detail/concepts/core.hpp:42:5: error: ‘concept’ does not name a type /var/tmp/cmcstl2/include/stl2/detail/concepts/core.hpp:55:32: error: ‘std::experimental::ranges_v1::detail::_Same’ has not been declared /var/tmp/cmcstl2/include/stl2/detail/concepts/core.hpp:55:37: error: expected ‘>’ before ‘<’ token /var/tmp/cmcstl2/include/stl2/detail/concepts/core.hpp:56:28: error: ‘Rest’ was not declared in this scope /var/tmp/cmcstl2/include/stl2/detail/concepts/core.hpp:56:32: error: expected parameter pack before ‘...’ /var/tmp/cmcstl2/include/stl2/detail/concepts/core.hpp:56:20: error: template argument 2 is invalid /var/tmp/cmcstl2/include/stl2/detail/concepts/core.hpp:56:20: internal compiler error: tree check: expected tree_vec, have error_mark in get_innermost_template_args, at cp/pt.c:595 0xf2bdac tree_check_failed(tree_node const*, char const*, int, char const*, ...) /home/marek/src/gcc/gcc/tree.c:9297 0x652619 tree_check(tree_node*, char const*, int, char const*, tree_code) /home/marek/src/gcc/gcc/tree.h:2851 0x652619 get_innermost_template_args(tree_node*, int) /home/marek/src/gcc/gcc/cp/pt.c:595 0x6a23e3 process_partial_specialization /home/marek/src/gcc/gcc/cp/pt.c:4148 0x6a4467 push_template_decl_real(tree_node*, bool) /home/marek/src/gcc/gcc/cp/pt.c:4907 0x640104 start_decl(cp_declarator const*, cp_decl_specifier_seq*, int, tree_node*, tree_node*, tree_node**) /home/marek/src/gcc/gcc/cp/decl.c:4839 0x735afd cp_parser_init_declarator /home/marek/src/gcc/gcc/cp/parser.c:17195 0x736702 cp_parser_single_declaration /home/marek/src/gcc/gcc/cp/parser.c:23850 0x7369b8 cp_parser_template_declaration_after_export /home/marek/src/gcc/gcc/cp/parser.c:23641 0x73bf19 cp_parser_declaration /home/marek/src/gcc/gcc/cp/parser.c:11343 0x73a41a cp_parser_declaration_seq_opt /home/marek/src/gcc/gcc/cp/parser.c:11265 0x73ac95 cp_parser_namespace_body /home/marek/src/gcc/gcc/cp/parser.c:16293 0x73ac95 cp_parser_namespace_definition /home/marek/src/gcc/gcc/cp/parser.c:16274 0x73be79 cp_parser_declaration /home/marek/src/gcc/gcc/cp/parser.c:11367 0x73a41a cp_parser_declaration_seq_opt /home/marek/src/gcc/gcc/cp/parser.c:11265 0x73ac95 cp_parser_namespace_body /home/marek/src/gcc/gcc/cp/parser.c:16293 0x73ac95 cp_parser_namespace_definition /home/marek/src/gcc/gcc/cp/parser.c:16274 0x73be79 cp_parser_declaration /home/marek/src/gcc/gcc/cp/parser.c:11367 0x73a41a cp_parser_declaration_seq_opt /home/marek/src/gcc/gcc/cp/parser.c:11265 0x73ac95 cp_parser_namespace_body /home/marek/src/gcc/gcc/cp/parser.c:16293 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.