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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed May 31 17:53:20 2017
New Revision: 248755

URL: https://gcc.gnu.org/viewcvs?rev=248755&root=gcc&view=rev
Log:
        PR c++/80840 - ICE with constexpr and reference

        * pt.c (convert_nontype_argument): Don't test whether a decl is
        value-dependent when binding to a reference.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/template/ref10.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/pt.c

Reply via email to