代码搜索:Initialization
找到约 10,000 项符合「Initialization」的源代码
代码结果 10,000
www.eeworm.com/read/366702/2876226
f90 initialization_6.f90
! { dg-do run }
! { dg-options -O2 }
! Tests the fix for PRs29507 and 31404, where elemental functions in
! initialization expressions could not be simplified with array arguments.
!
! Contributed by
www.eeworm.com/read/366702/2876377
f90 initialization_2.f90
! { dg-do run }
! Vector subscripts, ranks and shapes of initialization expressions (PRs 29393,
! 29630 and 29679)
program test
implicit none
integer :: i, j
integer, parameter :: a(4,4,4
www.eeworm.com/read/366702/2876422
f90 initialization_12.f90
! { dg-do compile }
! PR fortran/32945 - ICE in init expressions
!
! Contributed by Florian Ladstaedter
!
MODULE EGOPS_Utilities
CONTAINS
FUNCTION dirname(fullfilename)
Cha
www.eeworm.com/read/366702/2876486
f90 initialization_4.f90
! PR 29441 : No error was given for disallowed function in
! initialization expression, even if -std=f95 was used
! { dg-do compile }
! { dg-options "-std=f95" }
real, parameter :: pi = 4.0*Atan(1.0)
www.eeworm.com/read/366702/2876856
f90 initialization_9.f90
! { dg-do compile }
!
! PR fortran/31639
! Contributed by Martin Michlmayr
integer function xstrcmp(s1)
character*(*), intent(in) :: s1
integer :: n1 = len(s1)
www.eeworm.com/read/366702/2876872
f90 initialization_15.f90
! { dg-do compile }
! Test by Dominique d'Humieres (PR 33957)
function bug(i) result(c)
integer, pointer :: i
character(len=merge(1,2, associated(i))) :: c
c = ""
end function bug
www.eeworm.com/read/366702/2877012
f90 initialization_17.f90
! { dg-do compile }
!
! PR fortran/34514
!
! Initialization and typespec changes.
!
integer :: n = 5, m = 7
parameter (n = 42) ! { dg-error "Initializing already initialized variable" }
dimension :: m
www.eeworm.com/read/366702/2877099
f90 initialization_18.f90
! { dg-do compile }
! { dg-options "-std=f95 -Wall" }
!
! PR fortran/34915
! Testcase contributed by Al Greynolds via comp.lang.fortran.
!
character(*),dimension(3),parameter :: a=(/'a() ','b(,) ',
www.eeworm.com/read/366702/2877346
f90 initialization_10.f90
! { dg-do compile }
!
! PR fortran/32867 - nested initialization expression not simplified
!
! Testcase contributed by H. J. Lu
!
MODULE Readdata_mod
IMPLICIT NONE
Private
Publ
www.eeworm.com/read/366702/2877461
f90 initialization_3.f90
! { dg-do compile }
! Check that bounds are checked when using vector subscripts in initialization
! expressions. (PR 29630)
program test
implicit none
integer :: i, j
integer, parameter