Bug 11843 - gfortran ICE with "implicit none" and "common"
Summary: gfortran ICE with "implicit none" and "common"
Status: RESOLVED DUPLICATE of bug 11840
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: tree-ssa
: P2 normal
Target Milestone: tree-ssa
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-07 03:33 UTC by Konstantin Olchanski
Modified: 2003-09-16 11:04 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed: 2003-08-15 03:26:16


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Olchanski 2003-08-07 03:33:37 UTC
I get an ICE when "implicit none" is present in this code:

[olchansk@dork user]$ more test_common.f90
module test_common
  implicit none
  integer foo
  common /luns/ foo
end module test_common
[olchansk@dork user]$
/triumfcs/trshare/olchansk/gcc-tree-ssa/install-20030806/bin/gfortran -c
test_common.f90
test_common.f90:0: internal compiler error: in gfc_typenode_for_spec, at
fortran/trans-types.c:307
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

K.O.
Comment 1 Andrew Pinski 2003-08-15 03:26:16 UTC
I can confirm this on tree-ssa (20030814).
Comment 2 Steven Bosscher 2003-09-16 11:04:17 UTC
This is a duplicate of 11840, in a way.

*** This bug has been marked as a duplicate of 11840 ***