OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [common_align_1.f90] - Rev 826

Compare with Previous | Blame | View Log

! { 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

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.