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 each call to FOO in the *.original dump, and the
7 ! initialization constant to be optimized away in the *.optimized dump,
8 ! in the case of an argument passed by reference to the caller.
14 integer(kind
=4), intent(out
) :: a
32 ! { dg-final { scan-tree-dump-times "CLOBBER" 1 "original" } }
33 ! { dg-final { scan-tree-dump "\\*\\\(integer\\\(kind=4\\\) \\*\\\) b = {CLOBBER};" "original" } }
34 ! { dg-final { scan-tree-dump-not "123456789" "optimized" { target __OPTIMIZE__ } } }