aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2020-11-24 13:28:55 -0700
committerMartin Sebor <msebor@redhat.com>2020-11-24 13:31:42 -0700
commitf2a5cdff0457077cc0ef44a7c52c7dcf3fcaeadb (patch)
treef44e6b1ee21930deab9892781f4e894ac340d909 /gcc
parent92a30040c8d3ea4899979ec41a7e8e6a625c438d (diff)
downloadgcc-f2a5cdff0457077cc0ef44a7c52c7dcf3fcaeadb.zip
gcc-f2a5cdff0457077cc0ef44a7c52c7dcf3fcaeadb.tar.gz
gcc-f2a5cdff0457077cc0ef44a7c52c7dcf3fcaeadb.tar.bz2
Add a note.
gcc/testsuite/ChangeLog: * gcc.dg/Wstringop-overflow-47.c: Add a note.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/Wstringop-overflow-47.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/Wstringop-overflow-47.c b/gcc/testsuite/gcc.dg/Wstringop-overflow-47.c
index 02b14ee..f91bcbe 100644
--- a/gcc/testsuite/gcc.dg/Wstringop-overflow-47.c
+++ b/gcc/testsuite/gcc.dg/Wstringop-overflow-47.c
@@ -26,7 +26,7 @@ void nowarn_c32 (char c)
void warn_c32 (char c)
{
- extern char warn_a32[32]; // { dg-message "at offset 32 to object 'warn_a32' with size 32" }
+ extern char warn_a32[32]; // { dg-message "at offset 32 to object 'warn_a32' with size 32" "note" }
void *p = warn_a32 + 1;
*(C32*)p = (C32){ c }; // { dg-warning "writing 1 byte into a region of size 0" }