diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2023-02-07 17:28:50 +0100 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2023-02-10 01:40:51 +0100 |
commit | c47f76c16bf7b3108e762d4b8b16fbb0c9c75187 (patch) | |
tree | 2232955e7aa1e496ff87e912ae29ba38eac3acab | |
parent | e92e2c9671e9c7c42594f8d970cd1e30024a12db (diff) | |
download | gcc-c47f76c16bf7b3108e762d4b8b16fbb0c9c75187.zip gcc-c47f76c16bf7b3108e762d4b8b16fbb0c9c75187.tar.gz gcc-c47f76c16bf7b3108e762d4b8b16fbb0c9c75187.tar.bz2 |
testsuite: XFAIL bogus g++.dg/warn/Wstringop-overflow-4.C:144, PR106120
There was a commit r13-2082-gbf13a13c65bd06 "c++: remove some xfails"
(not referencing the PR) that dealt with part of the PR, but didn't
xfail the ilp32-specific (bogus) warning mentioned in the PR.
PR testsuite/106120
* g++.dg/warn/Wstringop-overflow-4.C:144 XFAIL bogus warning for
ilp32 targets with c++98.
-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 3716d2d..35fb59e 100644 --- a/gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C +++ b/gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C @@ -141,7 +141,7 @@ void test_strcpy_new_int16_t (size_t n, const size_t vals[]) int r_imin_imax = SR (INT_MIN, INT_MAX); T (S (1), new int16_t[r_imin_imax]); - T (S (2), new int16_t[r_imin_imax + 1]); + T (S (2), new int16_t[r_imin_imax + 1]); // { dg-bogus "into a region of size" "pr106120" { xfail { ilp32 && c++98_only } } } T (S (9), new int16_t[r_imin_imax * 2 + 1]); int r_0_imax = SR (0, INT_MAX); |