From: Richard Sandiford Date: Tue, 17 Mar 2020 15:39:42 +0000 (+0000) Subject: testsuite: Fix gcc.target/aarch64/advsimd-intrinsics/bfcvt-nosimd.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58a703f0726b3bb6c5ac8b600369106985906590;p=gcc.git testsuite: Fix gcc.target/aarch64/advsimd-intrinsics/bfcvt-nosimd.c 2020-03-17 Richard Sandiford gcc/testsuite/ * gcc.target/aarch64/advsimd-intrinsics/bfcvt-nosimd.c: Skip for -fno-fat-lto-objects. Use tabs rather than spaces in the check-function-bodies code. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ad4fcb5fe62..484eef58281 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2020-03-17 Richard Sandiford + + * gcc.target/aarch64/advsimd-intrinsics/bfcvt-nosimd.c: Skip for + -fno-fat-lto-objects. Use tabs rather than spaces in the + check-function-bodies code. + 2020-03-17 Iain Sandoe * g++.dg/coroutines/torture/coro-torture.exp: Ensure that diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/bfcvt-nosimd.c b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/bfcvt-nosimd.c index 05c305840b6..a914680937d 100644 --- a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/bfcvt-nosimd.c +++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/bfcvt-nosimd.c @@ -1,4 +1,5 @@ /* { dg-do assemble { target { aarch64*-*-* } } } */ +/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */ /* { dg-require-effective-target aarch64_asm_bf16_ok } */ /* { dg-additional-options "-save-temps -march=armv8.2-a+bf16+nosimd" } */ /* { dg-final { check-function-bodies "**" "" {-O[^0]} } } */ @@ -7,8 +8,8 @@ /* **test_bfcvt: -** bfcvt h0, s0 -** ret +** bfcvt h0, s0 +** ret */ bfloat16_t test_bfcvt (float32_t a) {