aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2023-02-02 20:35:52 +0100
committerHans-Peter Nilsson <hp@bitrange.com>2023-02-10 01:41:20 +0100
commit41015797ad14bc9030a87d102e4ab1ad891345f6 (patch)
tree7f07801d3bf9d31d080b44d9c34a854aa8ac21c1 /gcc
parentc47f76c16bf7b3108e762d4b8b16fbb0c9c75187 (diff)
downloadgcc-41015797ad14bc9030a87d102e4ab1ad891345f6.zip
gcc-41015797ad14bc9030a87d102e4ab1ad891345f6.tar.gz
gcc-41015797ad14bc9030a87d102e4ab1ad891345f6.tar.bz2
testsuite: XFAIL g++.dg/pr71488.C and warn/Warray-bounds-16.C, PR107561
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.dg/pr71488.C1
-rw-r--r--gcc/testsuite/g++.dg/warn/Warray-bounds-16.C1
2 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/pr71488.C b/gcc/testsuite/g++.dg/pr71488.C
index ffe30f1..a89e646 100644
--- a/gcc/testsuite/g++.dg/pr71488.C
+++ b/gcc/testsuite/g++.dg/pr71488.C
@@ -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>
diff --git a/gcc/testsuite/g++.dg/warn/Warray-bounds-16.C b/gcc/testsuite/g++.dg/warn/Warray-bounds-16.C
index 89cbadb..49d3437 100644
--- a/gcc/testsuite/g++.dg/warn/Warray-bounds-16.C
+++ b/gcc/testsuite/g++.dg/warn/Warray-bounds-16.C
@@ -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 }
}
};