http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47023
--- Comment #21 from janus at gcc dot gnu.org 2011-10-18 12:19:54 UTC --- The question is also how SIZEOF should act on data pointers: use iso_c_binding integer(2) :: i integer(2), pointer :: p print *,sizeof(i) print *,sizeof(p) end Output: 2 2 Should it give the size of the pointer itself, or the size of the object it points to?