http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52426
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-02-28 23:13:40 UTC --- (In reply to comment #0) > Reported at comp.lang.fortran at at http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/4bc3966b9ca9dbae by glen herrmannsfeldt From Fortran 2008 regarding C_LOC: "Argument. X shall have either the POINTER or TARGET attribute. It shall not be a coindexed object. It shall either be a variable with interoperable type and kind type parameters, or be a scalar, nonpolymorphic variable with no length type parameters. If it is allocatable, it shall be allocated. If it is a pointer, it shall be associated. If it is an array, it shall be contiguous and have nonzero size. It shall not be a zero-length string." TS 29113 just deleted: {In 15.2.3.6 C LOC(X), paragraph 3} Delete “scalar,”.