[Bug fortran/19928] Reference of constant derived type component causes failure

Thomas dot Koenig at online dot de gcc-bugzilla@gcc.gnu.org
Sun Feb 13 20:57:00 GMT 2005


------- Additional Comments From Thomas dot Koenig at online dot de  2005-02-13 14:24 -------
No derived type is necessary:
$ cat pr19928.f90
subroutine pr19928
  character :: signal_names(10)*16
  signal_names = ''
  write (*,*) signal_names(:)(1:4)
end subroutine pr19928
$ gfortran pr19928.f90
pr19928.f90: In function 'pr19928':
pr19928.f90:4: internal compiler error: in gfc_conv_constant, at
fortran/trans-const.c:344
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/home/ig25 --enable-languages=c,f95
Thread model: posix
gcc version 4.0.0 20050212 (experimental)


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |19276
              nThis|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19928



More information about the Gcc-bugs mailing list