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
;
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" } } */