testsuite: Mark extra warnings for default_packed
authorDimitar Dimitrov <dimitar@dinux.eu>
Sat, 14 May 2022 18:40:11 +0000 (21:40 +0300)
committerDimitar Dimitrov <dimitar@dinux.eu>
Sat, 21 May 2022 18:27:28 +0000 (21:27 +0300)
commitbad2999ab2b910c2e6b4494c772163de2b7e90e5
tree2bf7bcb608e2dc800570b6ca868f7505a65f40e8
parent57f2ce6a87802906826501b8843013ff2b50713b
testsuite: Mark extra warnings for default_packed

If the target uses packed structs by default, there are no trailing
padding bytes allocated.  Hence extra warnings are emitted.

gcc/testsuite/ChangeLog:

* gcc.dg/Warray-bounds-48-novec.c: Add expected warnings
if target packs the structs by default.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
gcc/testsuite/gcc.dg/Warray-bounds-48-novec.c