r216484 - in /branches/c++-concepts: ChangeLog....
asutton@gcc.gnu.org
asutton@gcc.gnu.org
Mon Oct 20 15:28:00 GMT 2014
Author: asutton
Date: Mon Oct 20 15:28:12 2014
New Revision: 216484
URL: https://gcc.gnu.org/viewcvs?rev=216484&root=gcc&view=rev
Log:
2014-10-20 Andrew Sutton <andrew.n.sutton@gmail.com>
Fixing user-reported issues and regressions
* gcc/cp/parser.c (cp_parser_template_declaration_after_exp):
Only pop access checks on failed parsing.
* gcc/cp/pt.cpp (type_dependent_expr_p): Always treat a
requires-expr as if dependently typed. Otherwise, we try to
evaluate these expressions when they have dependent types.
* gcc/cp/constriant.cc (normalize_stmt_list): Remove unused
function.
(normalize_call): Don't fold constraints during normalization.
* gcc/testsuite/g++.dg/concepts/decl-diagnose.C: Update diagnostics.
* gcc/testsuite/g++.dg/concepts/req-8.C: New
Added:
branches/c++-concepts/gcc/testsuite/g++.dg/concepts/req8.C
Modified:
branches/c++-concepts/ChangeLog.concepts
branches/c++-concepts/gcc/cp/constraint.cc
branches/c++-concepts/gcc/cp/parser.c
branches/c++-concepts/gcc/cp/pt.c
branches/c++-concepts/gcc/testsuite/g++.dg/concepts/decl-diagnose.C
More information about the Gcc-cvs
mailing list