Using a (patched) 4.4.1 gofortran on linux/x86, try to compile the attached
tcommon.f90
I get
gfortran /tmp/tcommon.f90
/tmp/tcommon.f90: In function 'tf_ad_splitting_driver_plane':
/tmp/tcommon.f90:109: internal compiler error: Segmentation fault
This was incidentally uncovered while trying to work around bug 40737.
Mixing common and modules is not good practice, but it shouldn't core dump.
--
Summary: mixing common and modules elicits seg fault
Product: gcc
Version: 4.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dh458 at oakapple dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41627