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++/63283] constexpr function called by templated function is not treated as constexpr


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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Jan 15 20:46:03 2015
New Revision: 219686

URL: https://gcc.gnu.org/viewcvs?rev=219686&root=gcc&view=rev
Log:
    PR c++/63283
    * constexpr.c (potential_constant_expression_1): Handle reference
    args in templates.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-template8.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c
    trunk/gcc/testsuite/g++.dg/cpp0x/static_assert10.C


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