mpx-check.h (main): Use __get_cpuid_count and return NORUNRES on failure.
authorUros Bizjak <ubizjak@gmail.com>
Sun, 3 Sep 2017 21:13:35 +0000 (23:13 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 3 Sep 2017 21:13:35 +0000 (23:13 +0200)
commitf36b315d1070bfaddbfcf9ee1cb08dc192aaf1c3
treead28d36dc723454d22712966e9eec47510180581
parent22140cb0d746d5d7a18f11f864baa53a95c15bdc
mpx-check.h (main): Use __get_cpuid_count and return NORUNRES on failure.

* gcc.target/i386/mpx/mpx-check.h (main): Use __get_cpuid_count
and return NORUNRES on failure.
* gcc.target/i386/mpx/va-arg-pack-1-lbv.c (foo1): Use
__builtin_va_arg_pack instead of __va_arg_pack.
* gcc.target/i386/mpx/va-arg-pack-1-nov.c (foo1): Ditto.
* gcc.target/i386/mpx/va-arg-pack-1-ubv.c (foo1): Ditto.
* gcc.target/i386/mpx/va-arg-pack-2-lbv.c (foo1): Ditto.
* gcc.target/i386/mpx/va-arg-pack-2-nov.c (foo1): Ditto.
* gcc.target/i386/mpx/va-arg-pack-2-ubv.c (foo1): Ditto.

From-SVN: r251627
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/mpx/mpx-check.h
gcc/testsuite/gcc.target/i386/mpx/va-arg-pack-1-lbv.c
gcc/testsuite/gcc.target/i386/mpx/va-arg-pack-1-nov.c
gcc/testsuite/gcc.target/i386/mpx/va-arg-pack-1-ubv.c
gcc/testsuite/gcc.target/i386/mpx/va-arg-pack-2-lbv.c
gcc/testsuite/gcc.target/i386/mpx/va-arg-pack-2-nov.c
gcc/testsuite/gcc.target/i386/mpx/va-arg-pack-2-ubv.c