This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Use relayout_decl instead of layout_decl when completing vars with incomplete types (PR c/51339)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: "Joseph S. Myers" <joseph at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 9 Feb 2012 10:08:12 +0100
- Subject: Re: [PATCH] Use relayout_decl instead of layout_decl when completing vars with incomplete types (PR c/51339)
- References: <Pine.LNX.4.64.1112052043080.8500@digraph.polyomino.org.uk> <201202082311.q18NBjfl007849@d06av02.portsmouth.uk.ibm.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Feb 09, 2012 at 12:11:45AM +0100, Ulrich Weigand wrote:
> The finish_decl change appears to have introduced a regression
> in attribute ((aligned)) handling. With the following code:
>
> extern const int foo[];
> const int __attribute__((aligned(16))) foo[] = { 0 };
>
> the attribute now seems to be ignored; reverting the change
> above causes the attribute to be honored again.
Seems the bug is elsewhere though, testing a fix, see
PR52181 I've filed for this.
Jakub