re PR target/78056 (build failure on Power7)

gcc/testsuite/ChangeLog:

2017-02-20  Kelvin Nilsen  <kelvin@gcc.gnu.org>

	PR target/78056
	* gcc.target/powerpc/pr78056-8.c: Remove.

From-SVN: r245607
This commit is contained in:
Kelvin Nilsen 2017-02-20 16:43:03 +00:00
parent 21a9328c57
commit 027a9dd509
2 changed files with 5 additions and 26 deletions

View File

@ -1,3 +1,8 @@
2017-02-20 Kelvin Nilsen <kelvin@gcc.gnu.org>
PR target/78056
* gcc.target/powerpc/pr78056-8.c: Remove.
2017-02-20 Marek Polacek <polacek@redhat.com>
PR middle-end/79537

View File

@ -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" } */
}