public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/12481] New: gfortran ICE with "common" in modules
@ 2003-10-01 17:53 olchansk at panix dot com
  2003-10-01 17:57 ` [Bug fortran/12481] " pinskia at gcc dot gnu dot org
  2003-10-17 23:40 ` pbrook at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: olchansk at panix dot com @ 2003-10-01 17:53 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12481

           Summary: gfortran ICE with "common" in modules
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: olchansk at panix dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

Attached valid code produces an ICE. The ICE goes away if the "common" name is
declared as integer.

P.S. Can we have the ICE print the offending variable name?

[olchansk@dork gfortran_test]$ cat test1.f90
module foo
  implicit none
  integer baz
  !integer bar  ! uncomment this line to avoid the ICE
  common/bar/ baz
end module foo
[olchansk@dork gfortran_test]$
/triumfcs/trshare/olchansk/gcc-tree-ssa/install/bin/gfortran -c test1.f90
test1.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.


[olchansk@dork gfortran_test]$
/triumfcs/trshare/olchansk/gcc-tree-ssa/install/bin/gfortran -v
Reading specs from
/triumfcs/trshare/olchansk/gcc-tree-ssa/install-20030930/lib/gcc/i686-pc-linux-gnu/3.5-tree-ssa/specs
Configured with: ../gcc/configure
--prefix=/triumfcs/trshare/olchansk/gcc-tree-ssa/install-20030930
--enable-languages=c,c++,f95,f77
Thread model: posix
gcc version 3.5-tree-ssa 20031001 (merged 20030923)

K.O. olchansk@triumf.ca


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug fortran/12481] gfortran ICE with "common" in modules
  2003-10-01 17:53 [Bug fortran/12481] New: gfortran ICE with "common" in modules olchansk at panix dot com
@ 2003-10-01 17:57 ` pinskia at gcc dot gnu dot org
  2003-10-17 23:40 ` pbrook at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-01 17:57 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12481


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |tree-ssa


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-01 17:57 -------
Most likely the same bug as PR 11840.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug fortran/12481] gfortran ICE with "common" in modules
  2003-10-01 17:53 [Bug fortran/12481] New: gfortran ICE with "common" in modules olchansk at panix dot com
  2003-10-01 17:57 ` [Bug fortran/12481] " pinskia at gcc dot gnu dot org
@ 2003-10-17 23:40 ` pbrook at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2003-10-17 23:40 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12481


pbrook at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |ice-on-invalid-code
         Resolution|                            |DUPLICATE


------- Additional Comments From pbrook at gcc dot gnu dot org  2003-10-17 23:40 -------


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-17 23:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-01 17:53 [Bug fortran/12481] New: gfortran ICE with "common" in modules olchansk at panix dot com
2003-10-01 17:57 ` [Bug fortran/12481] " pinskia at gcc dot gnu dot org
2003-10-17 23:40 ` pbrook at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).