This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/80840] [7/8 Regression] ICE in convert_nontype_argument reference to double


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]