This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r278449 - in /trunk/gcc/cp: ChangeLog pt.c
- From: asutton at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 19 Nov 2019 15:11:14 -0000
- Subject: r278449 - in /trunk/gcc/cp: ChangeLog pt.c
Author: asutton
Date: Tue Nov 19 15:11:14 2019
New Revision: 278449
URL: https://gcc.gnu.org/viewcvs?rev=278449&root=gcc&view=rev
Log:
Suppress diagnostics substituting into a requires-expression (PR c++/92403).
gcc/cp/
* pt.c (tsubst_copy_and_build): Perform the first substitution without
diagnostics and a second only if tsubst_requries_expr returns an error.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c