1 ! Have to enable optimizations, as otherwise builtins won't be expanded.
2 ! { dg-additional-options "-O -fdump-rtl-expand" }
8 logical (4) acc_on_device
11 f
= f
.or
. acc_on_device ()
12 f
= f
.or
. acc_on_device (1, 2)
13 f
= f
.or
. acc_on_device (3.14)
14 f
= f
.or
. acc_on_device ("hello")
19 ! Unsuitable to be handled as a builtin, so we're expecting four calls.
20 ! { dg-final { scan-rtl-dump-times "\\\(call \[^\\n\]*\\\"acc_on_device" 4 "expand" } }
22 ! { dg-final { cleanup-rtl-dump "expand" } }