Skip several analyzer socket tests on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / c-c++-common / strub-O2fni.c
blobacb8ceed1c5900adffd0fd3ce529a2ab6e293897
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fstrub=strict -fdump-rtl-expand -fno-inline -fno-stack-protector" } */
3 /* { dg-require-effective-target strub } */
5 /* With -fno-inline, none of the strub builtins are inlined. */
7 int __attribute__ ((__strub__)) var;
9 int f() {
10 return var;
13 /* { dg-final { scan-rtl-dump "strub_enter" "expand" } } */
14 /* { dg-final { scan-rtl-dump "strub_update" "expand" } } */
15 /* { dg-final { scan-rtl-dump "strub_leave" "expand" } } */
16 /* { dg-final { scan-rtl-dump-not "\[(\]call\[^\n\]*strub_leave.*\n\[(\]code_label" "expand" } } */