------- Comment #3 from dfranke at gcc dot gnu dot org 2010-05-09 18:11 ------- Created an attachment (id=20612) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20612&action=view) first steps to bring C_SIZEOF to the ISO_C_BINDING
Attached patch is a start only. Comments: * symbol.c (build_formal_args): wrong parameter generated, probably needs a new gen_*_param function * on -std=f2003 there's only a linker error (undefined reference), no F2008-only warning * simplification/translation needs to be hijacked from sizeof -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40568