projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92a3004
)
Add a note.
author
Martin Sebor
<msebor@redhat.com>
Tue, 24 Nov 2020 20:28:55 +0000
(13:28 -0700)
committer
Martin Sebor
<msebor@redhat.com>
Tue, 24 Nov 2020 20:31:42 +0000
(13:31 -0700)
gcc/testsuite/ChangeLog:
* gcc.dg/Wstringop-overflow-47.c: Add a note.
gcc/testsuite/gcc.dg/Wstringop-overflow-47.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.dg/Wstringop-overflow-47.c
b/gcc/testsuite/gcc.dg/Wstringop-overflow-47.c
index 02b14ee2eda245ec88cb9dd744aea8c5869966a7..f91bcbe234c075c3ed39fa4b3b6b45feaff06ce2 100644
(file)
--- 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" }