Commit d9dfec65 by Bill Schmidt

Use -mno-pcrel for tests requiring TOC.

2020-02-27  Bill Schmidt  <wschmidt@linux.ibm.com>

        * gcc.target/powerpc/ppc64-abi-1.c: Compile with -mno-pcrel.
        * gcc.target/powerpc/ppc64-abi-2.c: Likewise.
parent aca124df
2020-02-27 Bill Schmidt <wschmidt@linux.ibm.com>
* gcc.target/powerpc/ppc64-abi-1.c: Compile with -mno-pcrel.
* gcc.target/powerpc/ppc64-abi-2.c: Likewise.
2020-02-27 Alexandre Oliva <oliva@adacore.com> 2020-02-27 Alexandre Oliva <oliva@adacore.com>
* gcc.target/aarch64/vect-mull.x (SH): Undefine. * gcc.target/aarch64/vect-mull.x (SH): Undefine.
......
/* { dg-do run { target { powerpc*-*-* && lp64 } } } */ /* { dg-do run { target { powerpc*-*-* && lp64 } } } */
/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-skip-if "" { *-*-darwin* } } */
/* { dg-options "-O2" } */ /* { dg-options "-O2 -mno-pcrel" } */
typedef __builtin_va_list va_list; typedef __builtin_va_list va_list;
#define va_start(ap, arg) __builtin_va_start (ap, arg) #define va_start(ap, arg) __builtin_va_start (ap, arg)
......
/* { dg-do run { target { { powerpc*-*-linux* && lp64 } && powerpc_altivec_ok } } } */ /* { dg-do run { target { { powerpc*-*-linux* && lp64 } && powerpc_altivec_ok } } } */
/* { dg-options "-O2 -fprofile -mprofile-kernel -maltivec -mabi=altivec" } */ /* { dg-options "-O2 -fprofile -mprofile-kernel -maltivec -mabi=altivec -mno-pcrel" } */
#include <stdarg.h> #include <stdarg.h>
#include <signal.h> #include <signal.h>
#include <altivec.h> #include <altivec.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment