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
re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
substr_1.f90
blob
98164304b0b163726e379f4c26cb8bae55367bbd
1
! { dg-do compile }
2
! we used to save the wrong components of a gfc_expr describing a
3
! substring of a constant string. This yielded a segfault on
4
! translating the expressions read from the module.
5
module
m
6
character
(*),
parameter
::
a
=
"AABBCC"
(
1
:
4
)
7
end module
m
8
9
use
m
10
character
(
4
) ::
b
11
b
=
a
12
end