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 constants to be optimized away in the *.optimized dump,
8 ! in the case of associate variables.
14 integer, intent(out
) :: a
41 ! { dg-final { scan-tree-dump-times "CLOBBER" 2 "original" } }
42 ! { dg-final { scan-tree-dump "d1 = {CLOBBER};" "original" } }
43 ! { dg-final { scan-tree-dump "\\*d2 = {CLOBBER};" "original" } }
44 ! { dg-final { scan-tree-dump-not "123456789" "optimized" { target __OPTIMIZE__ } } }
45 ! { dg-final { scan-tree-dump-not "987654321" "optimized" { target __OPTIMIZE__ } } }