https://gcc.gnu.org/g:273a4d3775df005a692271851d5e1b14670cf024
commit r16-3288-g273a4d3775df005a692271851d5e1b14670cf024 Author: Jason Merrill <ja...@redhat.com> Date: Tue Aug 19 13:49:41 2025 -0400 c++: testcase tweak for -fimplicit-constexpr This testcase is testing the difference between functions that are or are not declared constexpr. gcc/testsuite/ChangeLog: * g++.dg/cpp26/expansion-stmt16.C: Add -fno-implicit-constexpr. Diff: --- gcc/testsuite/g++.dg/cpp26/expansion-stmt16.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/cpp26/expansion-stmt16.C b/gcc/testsuite/g++.dg/cpp26/expansion-stmt16.C index e6f914e28ec5..b573d9d4b5ec 100644 --- a/gcc/testsuite/g++.dg/cpp26/expansion-stmt16.C +++ b/gcc/testsuite/g++.dg/cpp26/expansion-stmt16.C @@ -1,6 +1,6 @@ // C++26 P1306R5 - Expansion statements // { dg-do compile { target c++11 } } -// { dg-options "" } +// { dg-options "-fno-implicit-constexpr" } struct A { int s; }; constexpr A a[] = { { 3 }, { 4 }, { 5 }, { 6 }, { 7 } };