diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr79222.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr79222.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr79222.c b/gcc/testsuite/gcc.dg/pr79222.c index 7483a5e..87e9fb6 100644 --- a/gcc/testsuite/gcc.dg/pr79222.c +++ b/gcc/testsuite/gcc.dg/pr79222.c @@ -9,5 +9,5 @@ char d[3]; char* f (int i) { const char *s = i < 0 ? "01234567" : "9876543210"; - return stpcpy (d, s); /* { dg-warning ".stpcpy. writing 9 bytes into a region of size 3 overflows the destination" } */ + return stpcpy (d, s); /* { dg-warning ".stpcpy. writing between 9 and 11 bytes into a region of size 3 overflows the destination" } */ } |