Joseph S. Myers wrote:
> On Mon, 5 Dec 2011, Jakub Jelinek wrote:
> 
> > 2011-12-05  Jakub Jelinek  <ja...@redhat.com>
> > 
> >     PR c/51339
> >     * c-decl.c (c_finish_incomplete_decl, finish_decl): Call
> >     relayout_decl instead of layout_decl.
> > 
> >     * gcc.dg/gomp/pr51339.c: New test.
> 
> OK.

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.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  ulrich.weig...@de.ibm.com

Reply via email to