https://gcc.gnu.org/g:9700bdca4d97e7716a926e4cb7db591b346457da
commit r17-1145-g9700bdca4d97e7716a926e4cb7db591b346457da Author: Andrew Pinski <[email protected]> Date: Mon Jun 1 12:50:50 2026 -0700 testsuite: xfail shrink-wrapping-vector-1.C until PR125400 is fixed After r17-603-gacfdad706d8acc, shrink-wrapping-vector-1.C started to fail because of a missed optimization. So let's mark it as xfail for the C++ versions where it fails (that is c++17 and down). Pushed as obvious after testing to see if the testcase xfails correctly. gcc/testsuite/ChangeLog: * g++.dg/opt/shrink-wrapping-vector-1.C: xfail for C++17down. Signed-off-by: Andrew Pinski <[email protected]> Diff: --- gcc/testsuite/g++.dg/opt/shrink-wrapping-vector-1.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/opt/shrink-wrapping-vector-1.C b/gcc/testsuite/g++.dg/opt/shrink-wrapping-vector-1.C index 8b1ad53fa805..023bbfede209 100644 --- a/gcc/testsuite/g++.dg/opt/shrink-wrapping-vector-1.C +++ b/gcc/testsuite/g++.dg/opt/shrink-wrapping-vector-1.C @@ -14,4 +14,4 @@ void push_back(std::vector<int>& xs, unsigned char x) { xs.push_back(x); } -/* { dg-final { scan-rtl-dump "Performing shrink-wrapping" "pro_and_epilogue" } } */ +/* { dg-final { scan-rtl-dump "Performing shrink-wrapping" "pro_and_epilogue" { xfail c++17_down } } } */
