[Bug fortran/41227] COMMON block, BIND(C) and LTO interoperability issues
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 14 21:05:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list