This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/47023] C_Sizeof: Rejects valid code


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

florian.rathgeber at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |florian.rathgeber at gmail
                   |                            |dot com

--- Comment #2 from florian.rathgeber at gmail dot com 2011-09-20 10:55:48 UTC ---
I'm seeing this bug even for an explicitly interoperable type (hence I'm not
sure if this is really the same bug - I'm happy to file a new one if someone
tells me to):

  print *, c_sizeof(0.0_c_double)
                    1
Error: 'x' argument of 'c_sizeof' intrinsic at (1) must be be an interoperable
data entity

GNU Fortran (Ubuntu 4.6.0-1ubuntu1~ppa2) 4.6.1 20110326 (prerelease)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]