* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / hotpatch-19.c
blob899e000a71fbdc952eed1049d7c2cd5eb577b191
1 /* Functional tests for the function hotpatching feature. */
3 /* { dg-do compile } */
4 /* { dg-options "-mzarch -mhotpatch=1,2" } */
6 #include <stdio.h>
8 __attribute__ ((always_inline))
9 static inline void hp2(void)
11 printf("hello, world!\n");
14 void hp1(void)
16 hp2();
19 /* Check number of occurences of certain instructions. */
20 /* { dg-final { scan-assembler "pre-label.*(1 halfwords)" } } */
21 /* { dg-final { scan-assembler "^\[^.\].*:\n.*post-label.*(2 halfwords).*\n\(\(.L.*:\n\)\|\(\[\[:space:\]\]*.cfi_.*\n\)\)*\[\[:space:\]\]*nop\t0" } } */
22 /* { dg-final { scan-assembler-times "nopr\t%r0" 1 } } */
23 /* { dg-final { scan-assembler-times "nop\t0" 1 } } */
24 /* { dg-final { scan-assembler-not "brcl\t0, 0" } } */