Re: [PATCH] decl alignment not respected

2016-03-02 Thread Richard Biener
On Tue, 1 Mar 2016, Alan Modra wrote: > This patch cures a problem with ICF of read-only variables at the > intersection of -fsection-anchors, -ftree-loop-vectorize, and targets > with alignment restrictions. The testcase results in > /usr/local/powerpc64le-linux/bin/ld: pack.o: In function `main

[PATCH] decl alignment not respected

2016-03-01 Thread Alan Modra
This patch cures a problem with ICF of read-only variables at the intersection of -fsection-anchors, -ftree-loop-vectorize, and targets with alignment restrictions. The testcase results in /usr/local/powerpc64le-linux/bin/ld: pack.o: In function `main': pack.c:(.text.startup+0xc): error: R_PPC64_T