AArch64: correct constraint on Upl early clobber alternatives
[official-gcc.git] / gcc / testsuite / gfortran.dg / auto_in_equiv_5.f90
blobd1e08a6600eb7e54df3171302b67553e5d2d01f9
1 ! { dg-do compile }
2 ! { dg-options "-fdump-tree-original" }
4 ! Neither of the local variable have the automatic attribute so they
5 ! not be allocated on the stack.
7 subroutine foo
8 integer, save :: a
9 integer :: b
10 equivalence (a, b)
11 a = 5
12 if (b.ne.5) stop 1
13 end subroutine
15 ! { dg-final { scan-tree-dump "static union" "original" } }
16 ! { dg-final { scan-tree-dump "static integer\\(kind=4\\) a" "original" } }
17 ! { dg-final { scan-tree-dump "static integer\\(kind=4\\) b" "original" } }