public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/40994]  New: ICE with BIND(C)
@ 2009-08-07  8:17 jv244 at cam dot ac dot uk
  2009-08-07  9:15 ` [Bug fortran/40994] " jv244 at cam dot ac dot uk
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: jv244 at cam dot ac dot uk @ 2009-08-07  8:17 UTC (permalink / raw)
  To: gcc-bugs

The following semi-invalid code ICEs (but compiles fine with ifort):

MODULE f03_test
 USE, INTRINSIC :: ISO_C_BINDING
 INTERFACE
    FUNCTION build(lib, np) BIND(C)
    END FUNCTION
 END INTERFACE
 PROCEDURE(build), POINTER               :: pbuild
CONTAINS
 SUBROUTINE test_asc()
 END SUBROUTINE test_asc
 SUBROUTINE test_bind_c BIND(C,name="test_bind_c")
 END SUBROUTINE test_bind_c
END MODULE f03_test
END


-- 
           Summary: ICE with BIND(C)
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk


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


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

end of thread, other threads:[~2010-08-11 19:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-07  8:17 [Bug fortran/40994] New: ICE with BIND(C) jv244 at cam dot ac dot uk
2009-08-07  9:15 ` [Bug fortran/40994] " jv244 at cam dot ac dot uk
2009-08-07  9:27 ` janus at gcc dot gnu dot org
2009-08-07 10:11 ` jv244 at cam dot ac dot uk
2010-04-18 15:49 ` dominiq at lps dot ens dot fr
2010-04-23 20:17 ` jv244 at cam dot ac dot uk
2010-05-07 22:10 ` [Bug fortran/40994] ICE in gfc_undo_symbols dfranke at gcc dot gnu dot org
2010-07-26 13:31 ` dominiq at lps dot ens dot fr
2010-08-11 19:30 ` janus 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).