]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: xfail shrink-wrapping-vector-1.C until PR125400 is fixed
authorAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Mon, 1 Jun 2026 19:50:50 +0000 (12:50 -0700)
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Mon, 1 Jun 2026 19:53:59 +0000 (12:53 -0700)
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 <andrew.pinski@oss.qualcomm.com>
gcc/testsuite/g++.dg/opt/shrink-wrapping-vector-1.C

index 8b1ad53fa805c8af3d9daa867ed39dff93614fdb..023bbfede209e1d7112bfd26c099fae92f4f49a5 100644 (file)
@@ -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 } } } */