OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [pr17229.f] - Blame information for rev 154

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.