[Bug fortran/41227] COMMON block, BIND(C) and LTO interoperability issues
tobi at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 28 19:59:00 GMT 2009
------- Comment #2 from tobi at gcc dot gnu dot org 2009-09-28 19:58 -------
The way usually recommended is to use a struct for interoperability with
Fortran common blocks, say http://support.microsoft.com/kb/51614
Unfortunately, the idiom "use a single variable common block, say common/x/y,
access it via the name of the common block, followed by an underscore, say x_"
is also common. At least in my workplace it's the way everybody uses.
In other words, we can't afford to break either way.
--
tobi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tobi at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41227
More information about the Gcc-bugs
mailing list