This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use relayout_decl instead of layout_decl when completing vars with incomplete types (PR c/51339)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]