]> git.ipfire.org Git - thirdparty/gcc.git/commit
fix global variable alignment for testcase gcc.dg/torture/pr96133.c
authorRichard Biener <rguenther@suse.de>
Mon, 13 Jul 2020 09:41:16 +0000 (11:41 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 13 Jul 2020 09:43:48 +0000 (11:43 +0200)
commit60a26b155642a58e9033c650d5c38b28ab471d34
tree998186fc979503159ae4736b0daee9b88734542f
parent6f49c66ed4e060c333d8bcd5e4ae127ab7bca15b
fix global variable alignment for testcase gcc.dg/torture/pr96133.c

The testcase was errorneously accessing the global variable via a
type that might require bigger alignment than provided.  Fix that
via an appropriate attribute.

2020-07-13  Richard Biener  <rguenther@suse.de>

PR testsuite/96180
* gcc.dg/torture/pr96133.c: Align global variable.

(cherry picked from commit 7a4770f0394751860ee54520b23007938907ac33)
gcc/testsuite/gcc.dg/torture/pr96133.c