public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/52542] New: Procedure with a Bind (C) named interface does not inherit the Bind (C)
@ 2012-03-09 11:45 mathewc at nag dot co.uk
  2012-03-09 13:31 ` [Bug fortran/52542] " burnus at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mathewc at nag dot co.uk @ 2012-03-09 11:45 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52542
           Summary: Procedure with a Bind (C) named interface does not
                    inherit the Bind (C)
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mathewc@nag.co.uk


$ uname -a
Linux stonehenge 3.2.9-1.fc16.x86_64 #1 SMP Thu Mar 1 01:41:10 UTC 2012 x86_64
x86_64 x86_64 GNU/Linux

$ gfortran --version
GNU Fortran (GCC) 4.8.0 20120309 (experimental) [trunk revision 185121]

$ cat bind.f90
interface
  subroutine s() bind(c)
  end subroutine s
end interface
procedure(s) :: t
call t
end

$ gfortran -c bind.f90 ; nm bind.o
0000000000000000 t MAIN__
                 U _gfortran_set_args
                 U _gfortran_set_options
000000000000000b T main
0000000000000000 r options.0.1852
                 U t_

Note: that should be 't', not 't_'.


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

end of thread, other threads:[~2012-03-13 17:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-09 11:45 [Bug fortran/52542] New: Procedure with a Bind (C) named interface does not inherit the Bind (C) mathewc at nag dot co.uk
2012-03-09 13:31 ` [Bug fortran/52542] " burnus at gcc dot gnu.org
2012-03-12  9:04 ` burnus at gcc dot gnu.org
2012-03-13 17:14 ` burnus at gcc dot gnu.org
2012-03-13 17:28 ` mathew.ian.cross at gmail dot com

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).