代码搜索:alloc
找到约 10,000 项符合「alloc」的源代码
代码结果 10,000
www.eeworm.com/read/366702/2876649
f90 alloc_comp_assign_6.f90
! { dg-do run }
! Tests the fix for pr32880, in which 'res' was deallocated
! before it could be used in the concatenation.
! Adapted from vst28.f95, in Lawrie Schonfeld's iso_varying_string
! testsui
www.eeworm.com/read/366702/2876688
f90 alloc_comp_assign_3.f90
! { dg-do run }
! Test assignments of nested derived types with allocatable components(PR 20541).
!
! Contributed by Erik Edelmann
! and Paul Thomas
www.eeworm.com/read/366702/2876690
f90 alloc_comp_assign_5.f90
! { dg-do run }
! { dg-options "-O2" }
! Tests the fix for PR29428, in which the assignment of
! a function result would result in the function being
! called twice, if it were not a result by referen
www.eeworm.com/read/366702/2876796
f90 alloc_comp_constructor_1.f90
! { dg-do run }
! { dg-options "-fdump-tree-original" }
! Test constructors of derived type with allocatable components (PR 20541).
!
! Contributed by Erik Edelmann
!
www.eeworm.com/read/366702/2876989
f90 alloc_comp_basics_2.f90
! { dg-do run }
! Check "double" allocations of allocatable components (PR 20541).
!
! Contributed by Erik Edelmann
! and Paul Thomas
!
p
www.eeworm.com/read/366702/2877104
f90 alloc_comp_misc_1.f90
! PR 29804
! This used to fail, it was magically fixed; keep in the testsuite so
! that we keep an eye on it.
!
! { dg-do run }
! { dg-options "-fbounds-check" }
program dt_bnd
implicit none
type
www.eeworm.com/read/366702/2877157
f90 alloc_comp_constructor_3.f90
! { dg-do run }
! Tests the fix for PR32665 in which the structure initializer at line
! 13 was getting the array length wrong by one and in which the automatic
! deallocation of a in 14 was occurring
www.eeworm.com/read/366702/2877161
f90 alloc_comp_initializer_2.f90
! { dg-do compile }
! Check that default initializer for allocatable components isn't accepted (PR
! 20541)
program main
type :: foo
integer, allocatable :: a(:) = [ 1 ] ! { dg-error "Ini
www.eeworm.com/read/366702/2877470
f90 alloc_comp_initializer_1.f90
! { dg-do run }
! This checks the correct functioning of derived types with default initializers
! and allocatable components.
!
! Contributed by Salvatore Filippone
www.eeworm.com/read/366702/2877609
f90 alloc_comp_constraint_2.f90
! { dg-do compile }
! Check that equivalence with allocatable components isn't allowed (PR 20541)
program main
type :: foo
sequence
integer, allocatable :: x(:)
end type foo