[Bug fortran/23765] New: segfault with syntactically wrong common declaration
tobi at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 7 16:03:00 GMT 2005
schluter@pcl247d:~/src/tests> cat pr16404.f90
REAL, TARGET :: B(2,2)
common x/b/
B = 1.
END
schluter@pcl247d:~/src/tests> ../gcc/build/gcc/f951 pr16404.f90
MAIN__
pr16404.f90:3: 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.
schluter@pcl247d:~/src/tests>
The segfault happens when the common block is being translated, but the code
should have been rejected much earlier.
--
Summary: segfault with syntactically wrong common declaration
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tobi at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23765
More information about the Gcc-bugs
mailing list