[gcc r11-5324] Add a note.

Martin Sebor msebor@gcc.gnu.org
Tue Nov 24 20:31:53 GMT 2020


https://gcc.gnu.org/g:f2a5cdff0457077cc0ef44a7c52c7dcf3fcaeadb

commit r11-5324-gf2a5cdff0457077cc0ef44a7c52c7dcf3fcaeadb
Author: Martin Sebor <msebor@redhat.com>
Date:   Tue Nov 24 13:28:55 2020 -0700

    Add a note.
    
    gcc/testsuite/ChangeLog:
            * gcc.dg/Wstringop-overflow-47.c: Add a note.

Diff:
---
 gcc/testsuite/gcc.dg/Wstringop-overflow-47.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/Wstringop-overflow-47.c b/gcc/testsuite/gcc.dg/Wstringop-overflow-47.c
index 02b14ee2eda..f91bcbe234c 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" }


More information about the Gcc-cvs mailing list