public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/25813]  New: EXTERNAL statement cause ICE in trans-decl.c
@ 2006-01-17  0:09 kargl at gcc dot gnu dot org
  2006-01-17  0:12 ` [Bug fortran/25813] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: kargl at gcc dot gnu dot org @ 2006-01-17  0:09 UTC (permalink / raw)
  To: gcc-bugs

The following code is invalid due to the "external sin" line.  Nonetheless,
we get an ICE.

kargl[255] gfc4x -o z v.f90
v.f90: In function 'MAIN__':
v.f90:2: internal compiler error: in build_function_decl, at
fortran/trans-decl.c:1131

program a
  external sin
  print *, sin()
  contains
   integer function sin ()
     sin = 1
   end function sin
end program a


-- 
           Summary: EXTERNAL statement cause ICE in trans-decl.c
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kargl at gcc dot gnu dot org


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


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

* [Bug fortran/25813] EXTERNAL statement cause ICE in trans-decl.c
  2006-01-17  0:09 [Bug fortran/25813] New: EXTERNAL statement cause ICE in trans-decl.c kargl at gcc dot gnu dot org
@ 2006-01-17  0:12 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-17  0:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-01-17 00:12 -------
This is a dup of bug 24327.

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


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2006-01-17  0:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-17  0:09 [Bug fortran/25813] New: EXTERNAL statement cause ICE in trans-decl.c kargl at gcc dot gnu dot org
2006-01-17  0:12 ` [Bug fortran/25813] " pinskia 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).