@@ -7,9 +7,10 @@ program help_test
7
7
integer :: estat, cstat
8
8
character (len= 256 ) :: message
9
9
logical ,allocatable :: tally(:)
10
- character (len= :),allocatable :: book1(:), book2(:)
11
- ! intel_bug!character(len=:),allocatable :: page1(:)
12
- character (len= :),allocatable :: page1(:)
10
+ ! intel-bug!character(len=:),allocatable :: book1(:), book2(:)
11
+ character (len= 132 ),allocatable :: book1(:), book2(:)
12
+ ! intel-bug!character(len=:),allocatable :: page1(:)
13
+ character (len= 132 ),allocatable :: page1(:)
13
14
integer :: lines
14
15
integer :: chars
15
16
! run a variety of "fpm help" variations and verify expected files are generated
@@ -187,7 +188,7 @@ subroutine swallow(FILENAME,pageout)
187
188
implicit none
188
189
character (len=* ),intent (in ) :: FILENAME ! file to read
189
190
! intel-bug!character(len=:),allocatable,intent(out) :: pageout(:) ! page to hold file in memory
190
- character (len= : ),allocatable ,intent (out ) :: pageout(:) ! page to hold file in memory
191
+ character (len= 132 ),allocatable ,intent (out ) :: pageout(:) ! page to hold file in memory
191
192
character (len= 1 ),allocatable :: text(:) ! array to hold file in memory
192
193
193
194
call slurp(FILENAME,text) ! allocate character array and copy file into it
@@ -206,7 +207,7 @@ function page(array) result (table)
206
207
207
208
character (len= 1 ),intent (in ) :: array(:)
208
209
! intel-bug!character(len=:),allocatable :: table(:)
209
- character (len= : ),allocatable :: table(:)
210
+ character (len= 132 ),allocatable :: table(:)
210
211
integer :: i
211
212
integer :: linelength
212
213
integer :: length
@@ -238,7 +239,7 @@ function page(array) result (table)
238
239
239
240
if (allocated (table))deallocate (table)
240
241
! intel-bug!allocate(character(len=linelength) :: table(lines))
241
- allocate (character (len= linelength ) :: table(lines))
242
+ allocate (character (len= 132 ) :: table(lines))
242
243
table= ' '
243
244
linecount= 1
244
245
position= 1
0 commit comments