public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1271] XFAIL a test in g++.dg/warn/Wstringop-overflow-4.C
@ 2022-06-26 15:32 Aldy Hernandez
  0 siblings, 0 replies; only message in thread
From: Aldy Hernandez @ 2022-06-26 15:32 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:80ace9185dc534e4d6cb19506300c4fcad4bd916

commit r13-1271-g80ace9185dc534e4d6cb19506300c4fcad4bd916
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Sun Jun 26 17:30:18 2022 +0200

    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.

Diff:
---
 gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C b/gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C
index eb4801918fc..c9d63932977 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]);
 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-26 15:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-26 15:32 [gcc r13-1271] XFAIL a test in g++.dg/warn/Wstringop-overflow-4.C Aldy Hernandez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).