Revert DECL_USER_ALIGN part of r241959

Jakub Jelinek jakub@redhat.com
Fri Jan 5 10:04:00 GMT 2018


On Fri, Jan 05, 2018 at 09:49:56AM +0000, Richard Sandiford wrote:
> Is the patch OK as a compromise for GCC 8?  We don't speculatively
> increase the user alignment in increase_alignment, but do still increase
> it if it helps to vectorise a particular loop access?

I'd be a little bit worried about code that puts some variables into user
sections with specific alignment, i.e.
__attribute__((section ("whatever"), aligned(N)))
where data is collected from different TUs into the user section and
any padding added there breaks this.  E.g. Linux kernel and other programs
use this technique heavily.

	Jakub



More information about the Gcc-patches mailing list