r255727 - in /branches/gcc-7-branch/gcc: cp/Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Fri Dec 15 22:13:00 GMT 2017
Author: jakub
Date: Fri Dec 15 22:13:37 2017
New Revision: 255727
URL: https://gcc.gnu.org/viewcvs?rev=255727&root=gcc&view=rev
Log:
Backported from mainline
2017-12-14 Jakub Jelinek <jakub@redhat.com>
PR c++/79650
* pt.c (convert_nontype_argument): Diagnose
reduced_constant_expression_p expressions that aren't INTEGER_CST.
* g++.dg/template/pr79650.C: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/template/pr79650.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/pt.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list