Hi, >> One more comment: Since its appearance is a bit scattered in the code, >> how about using a small macro which prepends the "_F" prefix to a >> given variable name? >> >> Btw, note that we are using a double underscore scheme in other places >> (like __class, __vtab, __vtype, etc). I have even used an '@' in one >> place, namely (hidden) procedure pointer results ("ppr@"). Is there a >> need to unify all those cases? > > > It think it would be useful to unify those. Are you volunteering?
yeah, why not ;) Attached is a draft patch (not regtested), which adds a macro GFC_PREFIX (in gfortran.h) to prepend "_F" to the cases included in Tobias' earlier patch as well as the OOP-related stuff and procedure pointer results. It also bumps the module version. Any comments so far? (Of course the name of the macro can be debated. I just tried to keep it short for now.) Cheers, Janus
mangling.diff
Description: Binary data