[Bug c++/66758] [concepts] ICE compiler deeply confused by simple-seeming concept definition
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 10 07:26:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66758
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jul 10 07:26:01 2015
New Revision: 225651
URL: https://gcc.gnu.org/viewcvs?rev=225651&root=gcc&view=rev
Log:
PR c++/66758
* gcc/cp/parser.c (cp_parser_requirement_parameter_list):Use grokparms.
* gcc/cp/constraint.cc (fixup_constraint_vars): Remove.
(tsubst_constraint_variables): Don't call it.
(declare_constraint_vars): Constraint vars aren't a TREE_LIST anymore.
(finish_requires_expr): Likewise.
* gcc/cp/cxx-pretty-print.c (pp_cxx_parameter_declaration_clause):
Likewise.
* gcc/cp/decl.c (grokparms): No longer static.
* gcc/cp/cp-tree.h: Declare it.
Added:
branches/c++-concepts/gcc/testsuite/g++.dg/concepts/req13.C
Modified:
branches/c++-concepts/ChangeLog.concepts
branches/c++-concepts/gcc/cp/constraint.cc
branches/c++-concepts/gcc/cp/cp-tree.h
branches/c++-concepts/gcc/cp/cxx-pretty-print.c
branches/c++-concepts/gcc/cp/decl.c
branches/c++-concepts/gcc/cp/parser.c
More information about the Gcc-bugs
mailing list