complex-lowering: Better handling of PAREN_EXPR [PR68855]
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / hotpatch-17.c
blob6d8c40c65c03249be3276fe9ce15798a10a081ca
1 /* Functional tests for the function hotpatching feature. */
3 /* { dg-do compile } */
4 /* { dg-options "-mzarch -mhotpatch=1,2" } */
5 /* { dg-skip-if "" { *-*-* } { "*" } { "-O*" } } */
7 #include <stdio.h>
9 __attribute__ ((hotpatch(0,0)))
10 void hp1(void)
12 printf("hello, world!\n");
15 /* Check number of occurences of certain instructions. */
16 /* { dg-final { scan-assembler-not "pre-label NOPs" } } */
17 /* { dg-final { scan-assembler-not "post-label NOPs" } } */
18 /* { dg-final { scan-assembler-not "nopr\t%r0" } } */
19 /* { dg-final { scan-assembler-not "nop\t0" } } */
20 /* { dg-final { scan-assembler-not "brcl\t0, 0" } } */
21 /* { dg-final { scan-assembler-not "alignment for hotpatch" } } */