]> code.ossystems Code Review - openembedded-core.git/commit
gcc: Fix test case issue when SSE is not enabled
authorMark Hatle <mark.hatle@windriver.com>
Fri, 23 Feb 2018 17:41:23 +0000 (12:41 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 3 Mar 2018 17:08:28 +0000 (17:08 +0000)
commit978b804b92b069f8f5a75f3390697e94a1bf907f
tree246a2dd67ccc3f5d5297fa70278812c2d0f48566
parent7620dafe7358f017a8cd558b480af73896768f04
gcc: Fix test case issue when SSE is not enabled

Whenever "-mno-sse" is used, "-mfpmath" should be set to 387.

The test case should be modified accordingly as below:

/* { dg-additional-options "-mno-sse -mfpmath=387 " { target { i?86-*-* x86_64-*-* } } } */

Original patch from: RAGHUNATH LOLUR <raghunath.lolur@kpit.com>

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/gcc/gcc-7.3.inc
meta/recipes-devtools/gcc/gcc-7.3/no-sse-fix-test-case-failures.patch [new file with mode: 0644]