diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-02-11 21:00:16 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-02-11 21:00:16 +0100 |
commit | 75c5639de1dba21290c3a88c440963c3c14fa827 (patch) | |
tree | 75765fce9c8b58953919291f69768bea2457c54e /libcpp/macro.c | |
parent | f9fb2d275ec5137b514167dd96c2f591e6f3658f (diff) | |
download | gcc-75c5639de1dba21290c3a88c440963c3c14fa827.zip gcc-75c5639de1dba21290c3a88c440963c3c14fa827.tar.gz gcc-75c5639de1dba21290c3a88c440963c3c14fa827.tar.bz2 |
re PR c++/88977 (__builtin_is_constant_evaluated() as function template argument causes substitution failure)
PR c++/88977
* pt.c (convert_nontype_argument): Pass true as manifestly_const_eval
to maybe_constant_value calls.
* g++.dg/cpp2a/is-constant-evaluated7.C: New test.
From-SVN: r268780
Diffstat (limited to 'libcpp/macro.c')
0 files changed, 0 insertions, 0 deletions