selftests/powerpc: Remove -flto from common CFLAGS

Michael Ellerman mpe at ellerman.id.au
Thu Mar 3 21:58:54 AEDT 2016


On Mon, 2016-29-02 at 06:29:55 UTC, Suraj Jitindar Singh wrote:
> LTO can cause GCC to inline some functions which have attributes set. The
> act of inlining the functions can lead to GCC forgetting about the
> attributes which leads to incorrect tests.
> Notable example being: __attribute__((__target__("no-vsx")))
> LTO can also interact strangely with custom assembly functions and cause
> tests to intermittently fail.
...
> 
> Signed-off-by: Suraj Jitindar Singh <sjitindarsingh at gmail.com>
> Reviewed-by: Cyril Bur <cyrilbur at gmail.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/a4cf0a2e1d3b98cac5fd5ba928

cheers


More information about the Linuxppc-dev mailing list