]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: XFAIL g++.dg/pr71488.C and warn/Warray-bounds-16.C, PR107561
authorHans-Peter Nilsson <hp@axis.com>
Thu, 2 Feb 2023 19:35:52 +0000 (20:35 +0100)
committerHans-Peter Nilsson <hp@bitrange.com>
Fri, 10 Feb 2023 00:41:20 +0000 (01:41 +0100)
These appear as regressions from a baseline before
r13-3761-ga239a63f868e29.  See the PR trail.

Note that the warning for g++.dg/pr71488.C is for a *header*
file, thus we can't match the line number (sanely).

gcc/testsuite:

PR tree-optimization/107561
* g++.dg/warn/Warray-bounds-16.C: XFAIL bogus "overflows destination"
warning.
* g++.dg/pr71488.C: Ditto, but just for ilp32 targets.

gcc/testsuite/g++.dg/pr71488.C
gcc/testsuite/g++.dg/warn/Warray-bounds-16.C

index ffe30f1afeb1ac576c38f11af9f4462e6cbf65a2..a89e6465a945685dcfb3ec99532202d0c5ef51cf 100644 (file)
@@ -3,6 +3,7 @@
 // { dg-options "-O3 -std=c++11" }
 // { dg-additional-options "-msse4" { target sse4_runtime } }
 // { dg-require-effective-target c++11 }
+// { dg-bogus "size 0 overflows" "pr107561" { xfail *-*-* } 0 }
 
 #include <valarray>
 
index 89cbadb91c7b91fb8422624ec2454d0e60768b77..49d3437fa1b7e7fecc77032674c9faaeb753ec56 100644 (file)
@@ -20,6 +20,7 @@ struct S
 
     for (int i = 0; i < m; i++)
       new (p + i) int (); /* { dg-bogus "bounds" "pr102690" { xfail *-*-* } } */
+    // { dg-bogus "size 0 overflows" "pr107561" { xfail ilp32 } .-1 }
   }
 };