public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/40568]  New: F2008: C_SIZEOF is in the wrong scope
@ 2009-06-27 16:06 burnus at gcc dot gnu dot org
  2009-12-13 16:20 ` [Bug fortran/40568] F2008: C_SIZEOF is in the wrong scope, rejected as initialization expression dfranke at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-06-27 16:06 UTC (permalink / raw)
  To: gcc-bugs

C_SIZEOF should be a function in ISO_C_BINDING, however, in gfortran it is a
normal intrinsic.

Expected:
- The USE statement works
- Using C_SIZEOF should give an error

use iso_c_binding, only: so => c_sizeof
implicit none
print *, c_sizeof(1)
end


-- 
           Summary: F2008: C_SIZEOF is in the wrong scope
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          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=40568


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

end of thread, other threads:[~2010-09-28 19:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-40568-4@http.gcc.gnu.org/bugzilla/>
2010-09-26  6:08 ` [Bug fortran/40568] F2008: C_SIZEOF is in the wrong scope, rejected as initialization expression burnus at gcc dot gnu.org
2010-09-27 10:05 ` burnus at gcc dot gnu.org
2010-09-27 10:07 ` [Bug fortran/40568] F2008: " burnus at gcc dot gnu.org
2010-09-28 13:58 ` [Bug fortran/40568] F2008: C_SIZEOF " burnus at gcc dot gnu.org
2010-09-29  3:03 ` burnus at gcc dot gnu.org
2010-09-29  3:55 ` burnus at gcc dot gnu.org
2010-09-29  7:47 ` burnus at gcc dot gnu.org
2009-06-27 16:06 [Bug fortran/40568] New: F2008: C_SIZEOF is in the wrong scope burnus at gcc dot gnu dot org
2009-12-13 16:20 ` [Bug fortran/40568] F2008: C_SIZEOF is in the wrong scope, rejected as initialization expression dfranke at gcc dot gnu dot org
2010-05-02 15:21 ` dfranke at gcc dot gnu dot org
2010-05-09 18:11 ` dfranke at gcc dot gnu dot org
2010-06-23 16:45 ` 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).