repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
auto_char_dummy_array_2.f90
blob
666418301e50481a73a0560f8d17617b882bb505
1
! { dg-do compile }
2
! Test fix for pr24789 - would segfault on the assignment
3
! because the array descriptor size was not set.
4
!
5
! This is the example submitted by Martin Reineke <martin@mpa-garching.mpg.de>
6
7
subroutine
foo
(
vals
)
8
character
(
len
= *),
pointer
::
vals
(:)
9
vals
=
''
10
end subroutine
11