https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79650

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 25 17:01:10 2018
New Revision: 262045

URL: https://gcc.gnu.org/viewcvs?rev=262045&root=gcc&view=rev
Log:
        Backported from mainline
        2017-12-14  Jakub Jelinek  <ja...@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-6-branch/gcc/testsuite/g++.dg/template/pr79650.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/pt.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Reply via email to