http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46641
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #2 from kargl at gcc dot gnu.org 2010-11-24 17:53:29 UTC --- >From F2008, 13.1: Intrinsic procedures are divided into seven classes: inquiry functions, ... Then one finds: 15.2.3.7 C SIZEOF (X) Description. Size of X in bytes. Class. Inquiry function. Then from 7.1.11: A specification inquiry is a reference to ... (4) the function C_SIZEOF from the intrinsic module ISO_C_BINDING (15.2.3.7), or Then in "7.1.12 Constant Expression" (4) a specification inquiry where each designator or function argument is (a) a constant expression or So, c_sizeof() should be accepted by gfortran with -std=f2008 or gnu, need to check f2003 whether -std=f2003 should accept it, and reject for -std=f95.