r221565 - in /branches/c++-concepts: ChangeLog....
asutton@gcc.gnu.org
asutton@gcc.gnu.org
Sat Mar 21 23:44:00 GMT 2015
Author: asutton
Date: Sat Mar 21 23:44:04 2015
New Revision: 221565
URL: https://gcc.gnu.org/viewcvs?rev=221565&root=gcc&view=rev
Log:
2015-03-21 Andrew Sutton <andrew.n.sutton@gmail.com>
Completely suppress access violations occurring from
constraint checks.
* gcc/cp/constraint.cc (deferring_access_check_sentinel): New helper
class for managing deferred access checks.
(check_expression_constraint): Explicitly defer constraint checks.
(check_type_constraint): Explicitly defer constraint checks.
* gcc/testsuite/g++.dg/concepts/expression3.C: New.
Added:
branches/c++-concepts/gcc/testsuite/g++.dg/concepts/expression3.C
Modified:
branches/c++-concepts/ChangeLog.concepts
branches/c++-concepts/gcc/cp/constraint.cc
More information about the Gcc-cvs
mailing list