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] Fix PR middle-end/28862, losing user alignment for vectors


Roger Sayle wrote:
On Wed, 6 Sep 2006, Andrew Pinski wrote:
* stor-layout.c (relayout_decl): Don't zero the alignment if it
was set by the user.

This makes sense. OK for mainline, together with the new testcase
you propose. Re: Paolo's comments about GCC complaining about the
alignment being too high on some targets, that makes sense but I
suspect his suggested alignment of 4 is too small to test this
functionality on many targets where global variables already have
a significant alignment.
Oh, that was a global?

I read it as if it was a typedef. I guess then that I might additionally suggest declaring "x" as the typedef.

Paolo


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