This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/41209] Add full ATTRIBUTE support to gfortran (ALIGN, (WEAK)ALIAS, ...)



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]