public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hjl at lucon dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/33646] [4.3 Regression] Gcc 4.3 failed to compile tonto in SPEC CPU 2006 Date: Wed, 03 Oct 2007 20:33:00 -0000 [thread overview] Message-ID: <20071003203345.19597.qmail@sourceware.org> (raw) In-Reply-To: <bug-33646-682@http.gcc.gnu.org/bugzilla/> ------- Comment #1 from hjl at lucon dot org 2007-10-03 20:33 ------- [hjl@gnu-23 build_base_o2.0000]$ cat bar.f90 module BAR_MODULE implicit none private public create_ interface create_ module procedure create end interface contains subroutine create(self) character(*) :: self pointer :: self allocate(self) end subroutine end [hjl@gnu-23 build_base_o2.0000]$ /usr/gcc-4.3/bin/gfortran -c bar.f90 [hjl@gnu-23 build_base_o2.0000]$ cat foo.f90 module FOO_MODULE use BAR_MODULE implicit none private public create_ interface create_ module procedure create end interface public create_copy_ interface create_copy_ module procedure create_copy end interface contains subroutine create(self) character(*) :: self pointer :: self nullify(self) allocate(self) self = " " end subroutine subroutine create_copy(self,s) character(*) :: self pointer :: self character(*) :: s call create_(self) end subroutine end [hjl@gnu-23 build_base_o2.0000]$ /usr/gcc-4.3/bin/gfortran -c foo.f90 foo.f90:7.29: module procedure create 1 Error: Ambiguous interfaces 'create' and 'create' in generic interface 'create_' at (1) foo.f90:7.29: module procedure create 1 Warning: Ambiguous interfaces 'create' and 'create' in generic interface 'create_' at (1) [hjl@gnu-23 build_base_o2.0000]$ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33646
next prev parent reply other threads:[~2007-10-03 20:33 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-10-03 18:39 [Bug fortran/33646] New: " hjl at lucon dot org 2007-10-03 20:33 ` hjl at lucon dot org [this message] 2007-10-03 20:55 ` [Bug fortran/33646] " hjl at lucon dot org 2007-10-03 21:21 ` pault at gcc dot gnu dot org 2007-10-03 21:32 ` dominiq at lps dot ens dot fr 2007-10-03 21:38 ` [Bug fortran/33646] [4.3 Regression] Gcc 4.3 revision 128954 failed " hjl at lucon dot org 2007-10-04 4:47 ` pault at gcc dot gnu dot org 2007-10-04 13:43 ` hjl at gcc dot gnu dot org 2007-10-04 15:39 ` hjl at gcc dot gnu dot org 2007-12-03 4:17 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20071003203345.19597.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).