]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/88977
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Feb 2019 20:00:16 +0000 (20:00 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Feb 2019 20:00:16 +0000 (20:00 +0000)
commit61b9455331cc965cb985093f846cb1cd478df43d
tree75765fce9c8b58953919291f69768bea2457c54e
parentb10193f4e898231088ea13c9fa91a35ffc3e1b71
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268780 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp2a/is-constant-evaluated7.C [new file with mode: 0644]