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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [convert_implied_open.f90] - Blame information for rev 149

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

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! { dg-options "-fconvert=swap" }
3
! PR 26735 - implied open didn't use to honor -fconvert
4
program main
5
  implicit none
6
  integer (kind=4) :: i1, i2, i3
7
  write (10) 1_4
8
  close (10)
9
  open (10, form="unformatted", access="direct", recl=4)
10
  read (10,rec=1) i1
11
  read (10,rec=2) i2
12
  read (10,rec=3) i3
13
  if (i1 /= 4 .or. i2 /= 1 .or. i3 /= 4) call abort
14
  close (10,status="delete")
15
end program main

powered by: WebSVN 2.1.0

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