1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/* { dg-do compile } */ /* { dg-options "-O2 -mdejagnu-cpu=power10 -mrop-protect" } */ /* { dg-require-effective-target rop_ok } */ /* Verify that no ROP-protect instructions are inserted when no call is present. */ int bar () { return 5; } /* { dg-final { scan-assembler-not {\mhashst\M} } } */ /* { dg-final { scan-assembler-not {\mhashchk\M} } } */