[Bug fortran/29051] New: segfault when too few values are in data statement of character array
bdavis at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 13 01:21:00 GMT 2006
[bdavis@localhost current]$ cat f.f
character*10 a(4,2) /'aaa','bbb','ccc','ddd'/
end
[bdavis@localhost current]$ /usr/local/bin/gfortran -c f.f
f.f:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
[bdavis@localhost current]$ g77 f.f
f.f: In program `MAIN__':
f.f:1:
character*10 a(4,2) /'aaa','bbb','ccc','ddd'/
^
Too few initial values in list of initializers for `a' at (^)
--
Summary: segfault when too few values are in data statement of
character array
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bdavis at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29051
More information about the Gcc-bugs
mailing list