mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 21:41:14 +08:00
rs6000-cpus.def (OTHER_FUTURES_MASK): New #define.
[gcc] 2019-05-28 Bill Schmidt <wschmidt@linux.ibm.com> Michael Meissner <meissner@linux.ibm.com> * config/rs6000/rs6000-cpus.def (OTHER_FUTURES_MASK): New #define. [gcc/testsuite] 2019-05-28 Bill Schmidt <wschmidt@linux.ibm.com> * gcc.target/powerpc/localentry-detect-1.c: New file. Co-Authored-By: Michael Meissner <meissner@linux.ibm.com> From-SVN: r271728
This commit is contained in:
parent
02441f3eec
commit
510d3a7313
@ -1,3 +1,8 @@
|
||||
2019-05-28 Bill Schmidt <wschmidt@linux.ibm.com>
|
||||
Michael Meissner <meissner@linux.ibm.com>
|
||||
|
||||
* config/rs6000/rs6000-cpus.def (OTHER_FUTURES_MASK): New #define.
|
||||
|
||||
2019-05-28 Michael Meissner <meissner@linux.ibm.com>
|
||||
|
||||
* rtl.h (LABEL_REF_P): New #define.
|
||||
|
@ -77,6 +77,9 @@
|
||||
| OPTION_MASK_FUTURE \
|
||||
| OPTION_MASK_PCREL)
|
||||
|
||||
/* Flags that need to be turned off if -mno-future. */
|
||||
#define OTHER_FUTURE_MASKS (OPTION_MASK_PCREL)
|
||||
|
||||
/* Flags that need to be turned off if -mno-power9-vector. */
|
||||
#define OTHER_P9_VECTOR_MASKS (OPTION_MASK_FLOAT128_HW \
|
||||
| OPTION_MASK_P9_MINMAX)
|
||||
|
@ -1,3 +1,7 @@
|
||||
2019-05-28 Bill Schmidt <wschmidt@linux.ibm.com>
|
||||
|
||||
* gcc.target/powerpc/localentry-detect-1.c: New file.
|
||||
|
||||
2019-05-28 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/90548 - ICE with generic lambda and empty pack.
|
||||
|
12
gcc/testsuite/gcc.target/powerpc/localentry-detect-1.c
Normal file
12
gcc/testsuite/gcc.target/powerpc/localentry-detect-1.c
Normal file
@ -0,0 +1,12 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target powerpc_elfv2 } */
|
||||
/* { dg-options "-O2 -mdejagnu-cpu=future" } */
|
||||
|
||||
|
||||
int localentry1 () { return 5; }
|
||||
|
||||
#pragma GCC target ("cpu=power9")
|
||||
int localentry2 () { return 5; }
|
||||
|
||||
/* { dg-final { scan-assembler {\.localentry\tlocalentry1,1\M} } } */
|
||||
/* { dg-final { scan-assembler-not {\.localentry\tlocalentry2,1\M} } } */
|
Loading…
x
Reference in New Issue
Block a user