diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2022-06-26 17:30:18 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2022-06-26 17:30:18 +0200 |
commit | 80ace9185dc534e4d6cb19506300c4fcad4bd916 (patch) | |
tree | 8ba340a83102470d02f9212f33b7b819ce557140 | |
parent | 1edfc8f2d3307a3ffa077a605f432832d7715462 (diff) | |
download | gcc-80ace9185dc534e4d6cb19506300c4fcad4bd916.zip gcc-80ace9185dc534e4d6cb19506300c4fcad4bd916.tar.gz gcc-80ace9185dc534e4d6cb19506300c4fcad4bd916.tar.bz2 |
XFAIL a test in g++.dg/warn/Wstringop-overflow-4.C
As per the explanation in the test, and in the DOM conversion to
ranger patch, this is a known regression. I had mentioned I would
XFAIL this test, but forgot to do so. There is an analysis in the
test itself as to what is going on.
Tested on x86-64 Linux.
gcc/testsuite/ChangeLog:
* g++.dg/warn/Wstringop-overflow-4.C: XFAIL a test.
-rw-r--r-- | gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C b/gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C index eb48019..c9d6393 100644 --- a/gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C +++ b/gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C @@ -195,7 +195,7 @@ void test_strcpy_new_int16_t (size_t n, const size_t vals[]) iftmp.2_33 = _45 * 2; ;; iftmp.2_33 = 0 _34 = operator new [] (iftmp.2_33); ;; new [] (0) */ - T (S (2), new int16_t[r_dmin_dmax + 1]); + T (S (2), new int16_t[r_dmin_dmax + 1]); // { dg-bogus "into a region of size" "" { xfail *-*-*} } T (S (9), new int16_t[r_dmin_dmax * 2 + 1]); } |