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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [common_2.f90] - Blame information for rev 708

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! The equivalence was causing us to miss out c when laying out the common
3
! block.
4
program common_2
5
  common /block/ a, b, c, d
6
  integer a, b, c, d, n
7
  dimension n(4)
8
  equivalence (a, n(1))
9
  equivalence (c, n(3))
10
  a = 1
11
  b = 2
12
  c = 3
13
  d = 4
14
  if (any (n .ne. (/1, 2, 3, 4/))) call abort
15
end program

powered by: WebSVN 2.1.0

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