aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-7.3.inc
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2018-02-23 12:41:23 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-19 15:55:37 +0000
commitb3d0d7b599d605568abdb45057d3f6fbc80224d9 (patch)
tree4de772c40181f05cfe757177c376a3a666704a5a /meta/recipes-devtools/gcc/gcc-7.3.inc
parent3718d467be290203e3e9d6a174838a4aa89833c2 (diff)
downloadopenembedded-core-contrib-b3d0d7b599d605568abdb45057d3f6fbc80224d9.tar.gz
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: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-7.3.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.3.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-7.3.inc b/meta/recipes-devtools/gcc/gcc-7.3.inc
index 20738283cd..7c835cf6b2 100644
--- a/meta/recipes-devtools/gcc/gcc-7.3.inc
+++ b/meta/recipes-devtools/gcc/gcc-7.3.inc
@@ -74,6 +74,7 @@ SRC_URI = "\
file://0048-gcc-Enable-static-PIE.patch \
file://fix-segmentation-fault-precompiled-hdr.patch \
file://0050-RISC-V-Handle-non-legitimate-address-in-riscv_legiti.patch \
+ file://no-sse-fix-test-case-failures.patch \
${BACKPORTS} \
"
BACKPORTS = "\