]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/71504
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Oct 2019 06:56:02 +0000 (06:56 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Oct 2019 06:56:02 +0000 (06:56 +0000)
commit0d578d1a9c217cfba939d4fecc6e77a9a5fee74d
treeda09480f193d690523899f897466bdd507134d52
parent066b22caf7e64e5a3dc8ffba84f60bd5389bd2d3
PR c++/71504
* constexpr.c (cxx_fold_indirect_ref_1): New function.
(cxx_fold_indirect_ref): Use it.

* g++.dg/cpp0x/constexpr-array21.C: New test.
* g++.dg/cpp1y/constexpr-array7.C: New test.
* g++.dg/cpp1z/constexpr-array1.C: New test.

2019-10-04  Jason Merrill  <jason@redhat.com>

PR c++/71504
* g++.dg/cpp0x/constexpr-array20.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276563 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-array20.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/constexpr-array21.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/constexpr-array7.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1z/constexpr-array1.C [new file with mode: 0644]