]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/34921 (Misalign stack variable referenced by nested function)
authorJoey Ye <joey.ye@intel.com>
Mon, 18 Feb 2008 23:43:23 +0000 (23:43 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 18 Feb 2008 23:43:23 +0000 (15:43 -0800)
commitb2ae828d7a91ec75eeb2da0af8e05992afe9209c
tree4483353c2c7f7a20740bbd95d2b06188cd9bc909
parentbd67275ca9838005ad5856679c1177827f230f4b
re PR middle-end/34921 (Misalign stack variable referenced by nested function)

gcc/

2008-02-18  Joey Ye  <joey.ye@intel.com>

PR middle-end/34921
* tree-nested.c (insert_field_into_struct): Set type alignment
to field alignment if the former is less than the latter.

gcc/testsuite/

2008-02-18  Joey Ye  <joey.ye@intel.com>
    H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/34921
* gcc.c-torture/execute/nest-align-1.c: New test case.

Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com>
From-SVN: r132396
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/nest-align-1.c [new file with mode: 0644]
gcc/tree-nested.c