This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: PR c/34921 Misalign stack variable referenced by nested function
- From: David Daney <ddaney at avtrex dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: "Ye, Joey" <joey dot ye at intel dot com>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 23 Feb 2008 22:51:26 -0800
- Subject: Re: [PATCH]: PR c/34921 Misalign stack variable referenced by nested function
- References: <BB577BF501703042AD7E08EADD8E514F4BDCF4@pdsmsx415.ccr.corp.intel.com> <20080205144702.GA27126@lucon.org>
H.J. Lu wrote:
>
> This is the patch I am testing. OK for 4.4?
>
> Thanks.
>
>
> H.J.
> ---
> gcc/
>
> 2008-01-22 Joey Ye <joey.ye@intel.com>
>
> * tree-nested.c (insert_field_into_struct): Set type alignment
> to field alignment if the former is less than the latter.
>
> gcc/testsuite/
>
> 2008-01-22 Joey Ye <joey.ye@intel.com>
> H.J. Lu <hongjiu.lu@intel.com>
>
> * gcc.c-torture/execute/nest-align-1.c: New test case.
>
>
This is FAILing on mipsel-linux:
http://gcc.gnu.org/ml/gcc-testresults/2008-02/msg01622.html
David Daney