projects
/
test_jj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb2a7f8
)
Fix member alignment for all targets [PR103751].
author
Martin Sebor
<msebor@redhat.com>
Thu, 16 Dec 2021 19:28:03 +0000
(12:28 -0700)
committer
Martin Sebor
<msebor@redhat.com>
Thu, 16 Dec 2021 19:34:24 +0000
(12:34 -0700)
Resolves:
PR testsuite/103751 - FAIL: gcc.dg/Warray-bounds-48.c (test for excess errors)
gcc/testsuite/ChangeLog:
PR testsuite/103751
* gcc.dg/Warray-bounds-48.c: Fix member alignment.
gcc/testsuite/gcc.dg/Warray-bounds-48.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.dg/Warray-bounds-48.c
b/gcc/testsuite/gcc.dg/Warray-bounds-48.c
index
29b2086
..
775b301
100644
(file)
--- a/
gcc/testsuite/gcc.dg/Warray-bounds-48.c
+++ b/
gcc/testsuite/gcc.dg/Warray-bounds-48.c
@@
-212,6
+212,7
@@
void test_a0 (struct A0 *p, unsigned n)
struct A1
{
int32_t n;
+ __attribute__ ((aligned (4)))
int16_t a1[1]; // { dg-message "while referencing 'a1'" }
};