------- Comment #1 from burnus at gcc dot gnu dot org 2009-09-14 21:05 ------- In any case gcc/dwarf2out.c needs to be modified. It currently has:
fortran_common (tree decl, HOST_WIDE_INT *value) { [...] if (TREE_CODE (val_expr) != COMPONENT_REF) return NULL_TREE; However, one needs to create a DW_TAG_common_block which contains a DW_TAG_variable. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41227