URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 302 |
Rev 384 |
! { dg-do compile }
|
! { dg-do compile }
|
! { dg-options "-std=f95 -Wintrinsics-std" }
|
! { dg-options "-std=f95 -Wintrinsics-std" }
|
!
|
!
|
! PR fortran/32778 - pedantic warning: intrinsics that
|
! PR fortran/32778 - pedantic warning: intrinsics that
|
! are GNU extensions not part of -std=gnu
|
! are GNU extensions not part of -std=gnu
|
!
|
!
|
! (2/3) Check for GNU extensions and intrinsics from F2003 if -std=f95.
|
! (2/3) Check for GNU extensions and intrinsics from F2003 if -std=f95.
|
!
|
!
|
|
|
CHARACTER(len=255) :: tmp
|
CHARACTER(len=255) :: tmp
|
REAL(8) :: x
|
REAL(8) :: x
|
|
|
! GNU extension, check overload of F77 standard intrinsic
|
! GNU extension, check overload of F77 standard intrinsic
|
x = ZABS(CMPLX(0.0, 1.0, 8)) ! { dg-warning "extension" }
|
x = ZABS(CMPLX(0.0, 1.0, 8)) ! { dg-warning "extension" }
|
|
|
! GNU extension
|
! GNU extension
|
CALL flush() ! { dg-warning "extension" }
|
CALL flush() ! { dg-warning "extension" }
|
|
|
! F95
|
! F95
|
tmp = ADJUSTL(" gfortran ")
|
tmp = ADJUSTL(" gfortran ")
|
|
|
! F2003
|
! F2003
|
CALL GET_COMMAND (tmp) ! { dg-warning "Fortran 2003" }
|
CALL GET_COMMAND (tmp) ! { dg-warning "Fortran 2003" }
|
|
|
END
|
END
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.