2 ! { dg-additional-options "-fno-inline -fno-ipa-modref -fdump-tree-optimized -fdump-tree-original" }
5 ! Check that the INTENT(OUT) attribute causes one clobber to be emitted in
6 ! the caller before the call to Y in the *.original dump, and the
7 ! initialization constant to be optimized away in the *.optimized dump,
8 ! despite the non-explicit interface if the subroutine with the INTENT(OUT)
9 ! is declared in the same file.
12 integer, intent(out
) :: Z
22 ! { dg-final { scan-tree-dump-times "CLOBBER" 1 "original" } }
23 ! { dg-final { scan-tree-dump "x = {CLOBBER};" "original" } }
24 ! { dg-final { scan-tree-dump-not "123456789" "optimized" { target __OPTIMIZE__ } } }