public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/34079]  New: Bind(C): Don't pass the string length as argument (for STDCALL)
@ 2007-11-13  8:07 burnus at gcc dot gnu dot org
  2007-11-13 14:39 ` [Bug fortran/34079] " burnus at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-11-13  8:07 UTC (permalink / raw)
  To: gcc-bugs

Using STDCALL, not the callee but the called procedure pops the arguments from
the stack. The problem is that gfortran currently also for BIND(C) passes the
string lengths as arguments.

See also:
http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/19d77dfc75f8be58


-- 
           Summary: Bind(C): Don't pass the string length as argument (for
                    STDCALL)
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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

end of thread, other threads:[~2007-11-25 22:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-13  8:07 [Bug fortran/34079] New: Bind(C): Don't pass the string length as argument (for STDCALL) burnus at gcc dot gnu dot org
2007-11-13 14:39 ` [Bug fortran/34079] " burnus at gcc dot gnu dot org
2007-11-13 20:02 ` burnus at gcc dot gnu dot org
2007-11-15 15:10 ` burnus at gcc dot gnu dot org
2007-11-15 15:10 ` patchapp at dberlin dot org
2007-11-17  8:08 ` [Bug fortran/34079] Bind(C): Character argument/return value problems burnus at gcc dot gnu dot org
2007-11-17 13:49 ` burnus at gcc dot gnu dot org
2007-11-19 12:30 ` burnus at gcc dot gnu dot org
2007-11-20  5:04 ` patchapp at dberlin dot org
2007-11-22  9:56 ` burnus at gcc dot gnu dot org
2007-11-22 19:01 ` patchapp at dberlin dot org
2007-11-24 13:05 ` patchapp at dberlin dot org
2007-11-25 22:03 ` burnus at gcc dot gnu dot org
2007-11-25 22:16 ` burnus at gcc dot gnu dot org
2007-11-25 22:18 ` burnus 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).