------- Comment #2 from paul dot richard dot thomas at gmail dot com 2010-04-16 07:36 ------- Subject: Re: [fortran-dev Regression] ICE: segmentation fault in mio_expr
Janus, I am looking at this and PR42274; I will be in a hotel room the evenings of next week and hope to get fortran-dev ready to merge back to trunk. In the mean time, I have posted a patch for the other fortran-dev regression, PR42353. I want to understand absolutely why it works and then I will commit an "obvious" fix. Cheers Paul On Thu, Apr 15, 2010 at 11:30 PM, janus at gcc dot gnu dot org <gcc-bugzi...@gcc.gnu.org> wrote: > > > ------- Comment #1 from janus at gcc dot gnu dot org 2010-04-15 21:30 ------- > Here is a reduced test case, which ICEs with the same backtrace: > > > module m_string > > type t_string > character, dimension(:), allocatable :: string > contains > procedure :: char => string_to_char > end type t_string > > contains > > function string_to_char (s) result(res) > class(t_string), intent(in) :: s > character(len=size(s%string)) :: res > end function string_to_char > > end module m_string > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43227 > > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43227