re PR target/78056 (build failure on Power7)
authorKelvin Nilsen <kelvin@gcc.gnu.org>
Wed, 4 Jan 2017 20:03:00 +0000 (20:03 +0000)
committerKelvin Nilsen <kelvin@gcc.gnu.org>
Wed, 4 Jan 2017 20:03:00 +0000 (20:03 +0000)
commit598bd6878aedc11ddffc0cc3908bfdaf86e212e8
treec720789c615b4690b1f9a8185304f43c9aba2d6a
parent8194635af7f9974ab436603f5c253db110432e8c
re PR target/78056 (build failure on Power7)

gcc/testsuite/ChangeLog:

2017-01-04  Kelvin Nilsen  <kelvin@gcc.gnu.org>

PR target/78056
* gcc.target/powerpc/pr78056-1.c: New test.
* gcc.target/powerpc/pr78056-2.c: New test.
* gcc.target/powerpc/pr78056-3.c: New test.
* gcc.target/powerpc/pr78056-4.c: New test.
* gcc.target/powerpc/pr78056-5.c: New test.
* gcc.target/powerpc/pr78056-6.c: New test.
* gcc.target/powerpc/pr78056-7.c: New test.
* gcc.target/powerpc/pr78056-8.c: New test.
* lib/target-supports.exp
(check_effective_target_powerpc_popcntb_ok): New procedure to test
whether the effective target supports the popcntb instruction.

gcc/ChangeLog:

2017-01-04  Kelvin Nilsen  <kelvin@gcc.gnu.org>

PR target/78056
* doc/sourcebuild.texi (PowerPC-specific attributes): Add
documentation of the powerpc_popcntb_ok attribute.
* config/rs6000/rs6000.c (rs6000_option_override_internal): Add
code to issue warning messages if a requested CPU configuration is
not supported by the binary (assembler and loader) toolchain.
(spe_init_builtins): Add two assertions to prevent ICE if attempt is
made to define a built-in function that has been disabled.
(paired_init_builtins): Add assertion to prevent ICE if attempt is
made to define a built-in function that has been disabled.
(altivec_init_builtins): Add comment explaining why definition
of the DST built-in functions is not preceded by an assertion
check.  Add assertions to prevent ICE if attempts are made to
define an altivec predicate or an abs* built-in function that has
been disabled.
(htm_init_builtins): Add comment explaining why definition of the
htm built-in functions is not preceded by an assertion check.

From-SVN: r244068
13 files changed:
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr78056-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr78056-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr78056-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr78056-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr78056-5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr78056-6.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr78056-7.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr78056-8.c [new file with mode: 0644]
gcc/testsuite/lib/target-supports.exp