From 978b804b92b069f8f5a75f3390697e94a1bf907f Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Fri, 23 Feb 2018 12:41:23 -0500 Subject: 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 Signed-off-by: Mark Hatle Signed-off-by: Ross Burton --- meta/recipes-devtools/gcc/gcc-7.3.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/gcc/gcc-7.3.inc') diff --git a/meta/recipes-devtools/gcc/gcc-7.3.inc b/meta/recipes-devtools/gcc/gcc-7.3.inc index 724f9c32a0..da236e50c0 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 = "\ -- cgit v1.2.3