This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41627] New: mixing common and modules elicits seg fault
- From: "dh458 at oakapple dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Oct 2009 22:53:36 -0000
- Subject: [Bug fortran/41627] New: mixing common and modules elicits seg fault
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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