]> 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>
Mon, 19 Mar 2018 15:55:37 +0000 (15:55 +0000)
commitb3d0d7b599d605568abdb45057d3f6fbc80224d9
tree4de772c40181f05cfe757177c376a3a666704a5a
parent3718d467be290203e3e9d6a174838a4aa89833c2
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>
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]