This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47023] C_Sizeof: Rejects valid code
- From: "florian.rathgeber at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Sep 2011 10:55:48 +0000
- Subject: [Bug fortran/47023] C_Sizeof: Rejects valid code
- Auto-submitted: auto-generated
- References: <bug-47023-4@http.gcc.gnu.org/bugzilla/>
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)