http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38849
Mikael Morin changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38849
janus at gcc dot gnu.org changed:
What|Removed |Added
Known to fail||
--- Comment #5 from janus at g
--- Comment #4 from dfranke at gcc dot gnu dot org 2010-05-19 16:57 ---
$ gfortran-4.5 pr38849.f90
pr38849.f90: In function 'MAIN__':
pr38849.f90:9:0: internal compiler error: in gimplify_expr, at gimplify.c:7346
$ gfortran-svn pr38849.f90
gimplification failed:
chararr
--
domob at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|domob at gcc dot gnu dot org|unassigned at gcc dot gnu
|
--- Comment #3 from domob at gcc dot gnu dot org 2009-10-07 14:12 ---
As another note, I already did the mistake of indexing a string as str(n)
instead of str(n:n) for single characters multiple times; and IIRC there's not
much useful a diagnostic in any case, so maybe I can improve ther
--- Comment #2 from domob at gcc dot gnu dot org 2009-10-07 14:09 ---
This is still happening with current gfortran trunk, though the ICE is now in
[/tmp]# gfortran-dev test.f90
test.f90: In function 'myfortran_error':
test.f90:8:0: internal compiler error: in fold_convert_loc, at
fold
--- Comment #1 from mikael at gcc dot gnu dot org 2009-01-24 20:36 ---
Confirmed.
myfortran_error(1:1) = chararr(1)
gfc_match_rvalue can't find a proper substring reference for chararr.
Thus as chararr's flavor is FL_UNKNOWN, gfc_match_rvalue tries to guess its
type
and after some