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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [warnings_are_errors_1.f] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! { dg-options " -Werror" }
3
! PR fortran/21061
4
! gfortran ignores -Werror
5
! fixed-form tests
6
       program warnings_are_errors_1
7
       implicit none
8
       integer(kind=1) :: i
9
       real :: r1, r2(3)
10
! gfc_warning_now:
11
 
12
!
13
34 5   i=0
14
! gfc_notify_std(GFC_STD_F95_DEL):
15
       do r1 = 1, 2 ! { dg-warning "Deleted feature: Loop variable" }
16
         i = i+1
17
       end do
18
       call foo j bar
19
! gfc_warning:
20
       r2(4) = 0 ! { dg-warning "is out of bounds" }
21
 
22
       goto 3 45
23
       end
24
! { dg-final { output-exists-not } }

powered by: WebSVN 2.1.0

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