[PATCH] Use relayout_decl instead of layout_decl when completing vars with incomplete types (PR c/51339)
Jakub Jelinek
jakub@redhat.com
Thu Feb 9 09:35:00 GMT 2012
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
More information about the Gcc-patches
mailing list