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/] [pr17229.f] - Blame information for rev 193

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

Line No. Rev Author Line
1 149 jeremybenn
! PR fortran/17229
2
! { dg-do run }
3
      integer i
4
      logical l
5
 
6
      l = .false.
7
      i = -1
8
      if (l) if (i) 999,999,999 ! { dg-warning "Obsolescent: arithmetic IF statement" }
9
 
10
      l = .true.
11
      if (l) if (i) 10,999,999 ! { dg-warning "Obsolescent: arithmetic IF statement" }
12
      go to 999
13
 
14
   10 i = 0
15
      if (l) if (i) 999,20,999 ! { dg-warning "Obsolescent: arithmetic IF statement" }
16
      go to 999
17
 
18
   20 i = 1
19
      if (l) if (i) 999,999,30 ! { dg-warning "Obsolescent: arithmetic IF statement" }
20
      go to 999
21
 
22
  999 call abort
23
   30 end

powered by: WebSVN 2.1.0

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