From 027a9dd50982526525b9793646ef1e3d958869f2 Mon Sep 17 00:00:00 2001 From: Kelvin Nilsen Date: Mon, 20 Feb 2017 16:43:03 +0000 Subject: [PATCH] re PR target/78056 (build failure on Power7) gcc/testsuite/ChangeLog: 2017-02-20 Kelvin Nilsen PR target/78056 * gcc.target/powerpc/pr78056-8.c: Remove. From-SVN: r245607 --- gcc/testsuite/ChangeLog | 5 ++++ gcc/testsuite/gcc.target/powerpc/pr78056-8.c | 26 -------------------- 2 files changed, 5 insertions(+), 26 deletions(-) delete mode 100644 gcc/testsuite/gcc.target/powerpc/pr78056-8.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 645d2ed0e9d..639153db1e3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-02-20 Kelvin Nilsen + + PR target/78056 + * gcc.target/powerpc/pr78056-8.c: Remove. + 2017-02-20 Marek Polacek PR middle-end/79537 diff --git a/gcc/testsuite/gcc.target/powerpc/pr78056-8.c b/gcc/testsuite/gcc.target/powerpc/pr78056-8.c deleted file mode 100644 index 6322e415bad..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/pr78056-8.c +++ /dev/null @@ -1,26 +0,0 @@ -/* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */ - -/* powerpc_popcntb_ok represents support for power 5. */ -/* { dg-require-effective-target powerpc_popcntb_ok } */ -/* dfp_hw represents support for power 6. */ -/* { dg-skip-if "" { dfp_hw } } */ -/* { dg-skip-if "" { powerpc*-*-aix* } } */ -/* { dg-options "-mcpu=power5" } */ - -/* This test follows the pattern of pr78056-2.c, which has been - * exercised with binutils 2.25. This test, however, has not - * been exercised because the author of the test does not have access - * to a development environment that succesfully bootstraps gcc - * while at the same lacking assembler support for power 6. */ - -/* This test should succeed on both 32- and 64-bit configurations. */ -/* Though the command line specifies power5 target, this function is - to support power6. Expect an error message here because this target - does not support power6. */ -__attribute__((target("cpu=power6"))) -/* fabs/fnabs/fsel */ -double normal1 (double a, double b) -{ /* { dg-warning "lacks power6 support" } */ - return __builtin_copysign (a, b); /* { dg-warning "implicit declaration" } */ -} -- 2.30.2