This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/70070] ICE on initializing character data beyond min/max bound


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70070

--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
Similar :


$ cat z5.f90
program p
   integer :: i
   character(2) :: c
   data (c(i:i), i=-1,2) /2*'c'/
end

$ gfortran-6 -c z5.f90
Error: DATA statement at (1) has more variables than values
*** Error in `/usr/lib64/gcc/x86_64-suse-linux/6/f951': munmap_chunk(): invalid
pointer: 0x00000000025a8b20 ***
...
internal compiler error: Aborted

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]