[Bug fortran/41209] Add full ATTRIBUTE support to gfortran (ALIGN, (WEAK)ALIAS, ...)
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Sep 1 17:39:00 GMT 2009
------- Comment #2 from burnus at gcc dot gnu dot org 2009-09-01 17:39 -------
Created an attachment (id=18463)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18463&action=view)
Draft patch - first steps but incomplete & will not work
Draft patch (not really work yet).
TODO:
a) Copy attributes properly and free them at the end
b) Write/read them from the .mod file
c) Use an ENUM for stdcall etc.? Requires a check whether they are already set
but those options are orthogonal thus that makes sense.
TODO 2: Check whether derived types are properly handled: bind(C) vs. sequence
vs. extensible types. And attributes to components vs. attributes to the type
as a whole.
Plus checking whether we set some attributes by default which clash with user
settings.
Plus: Are additional front-end checks needed besides stdcall etc. conformance
for proc-pointers?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41209
More information about the Gcc-bugs
mailing list