blob: 4a6803e961b07368efe92192b8f2b0d45f70b087 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
! { dg-do run }
! { dg-options "-fno-align-commons" }
! PR fortran/37486
!
! Test for -fno-align-commons.
!
! Contributed by Tobias Burnus <burnus@gcc.gnu.org>.
subroutine one()
integer :: i
common i
if (i/=5) call abort()
end subroutine one
program test
integer :: i
real(8) :: r8
common i, r8
i = 5
call one()
end program test
|