https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71504
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Oct 4 06:56:02 2019 New Revision: 276563 URL: https://gcc.gnu.org/viewcvs?rev=276563&root=gcc&view=rev Log: 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 <ja...@redhat.com> PR c++/71504 * g++.dg/cpp0x/constexpr-array20.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-array20.C trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-array21.C trunk/gcc/testsuite/g++.dg/cpp1y/constexpr-array7.C trunk/gcc/testsuite/g++.dg/cpp1z/constexpr-array1.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/constexpr.c trunk/gcc/testsuite/ChangeLog