aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssanames.c
diff options
context:
space:
mode:
authorPeter Bergner <bergner@linux.ibm.com>2021-12-03 11:46:22 -0600
committerPeter Bergner <bergner@linux.ibm.com>2021-12-03 14:32:13 -0600
commitd81722ee16e339af7c11b3d1bf51c17246557595 (patch)
tree5255a9776bfafbb679de3445c9ba1556d996b5ed /gcc/tree-ssanames.c
parentf46d32dd29b7623915e31b0508e2e925526fa7d8 (diff)
downloadgcc-d81722ee16e339af7c11b3d1bf51c17246557595.zip
gcc-d81722ee16e339af7c11b3d1bf51c17246557595.tar.gz
gcc-d81722ee16e339af7c11b3d1bf51c17246557595.tar.bz2
rs6000: testsuite: Add rop_ok effective-target function
This patch adds a new effective-target function that tests whether it is safe to emit the ROP-protect instructions and updates the ROP test cases to use it. 2021-12-03 Peter Bergner <bergner@linux.ibm.com> gcc/testsuite/ * lib/target-supports.exp (check_effective_target_rop_ok): New function. * gcc.target/powerpc/rop-1.c: Use it. * gcc.target/powerpc/rop-2.c: Likewise. * gcc.target/powerpc/rop-3.c: Likewise. * gcc.target/powerpc/rop-4.c: Likewise. * gcc.target/powerpc/rop-5.c: Likewise.
Diffstat (limited to 'gcc/tree-ssanames.c')
0 files changed, 0 insertions, 0 deletions