gfortran doesn't support visibility.
Andrew Pinski
pinskia@gmail.com
Sun Apr 6 04:01:00 GMT 2008
Sent from my iPhone
On Apr 5, 2008, at 20:44, Ed Smith-Rowland <3dw4rd@verizon.net> wrote:
> I am forwarding an email I sent about -fvisibility not working for
> gfortran.
>
> This was marked 35827, a middle end bug. The gist is that only C-
> family languages are deemed to support visibility. My issue is that
> g77 supported visibility and it seems a reasonable notion and a
> useful thing to have. It would keep the symbol table lean and
> prevent users from calling routines way down where they shouldn't be.
It did??? -fvisibilty= support did not come in until GCC 4.0 which
did not have g77.
>
>
> Is there any reason to suppose that gfortran *couldn't* or
> *shouldn't* support visibility? Is there a Fortran language
> supported thing that would take the place of this?
>
> At least a flag that would mark all methods in a file as having a
> specified visibility (i.e. -fvisibility) would help.
>
> I know pragmas and __attribute__ and such are not part of Fortran as
> they are in C (hence the reclassification as not a Fortran bug?) but
> just the per source file flag would help a lot.
>
> Here is the original report and the response:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35827
>
> Regards,
>
> Ed Smith-Rowland
>
More information about the Fortran
mailing list