[Patch, Fortran] PR51308 - fix bogus c_null_ptr error
Tobias Burnus
burnus@net-b.de
Mon Nov 28 13:37:00 GMT 2011
gfortran printed an error that "c_null_ptr" couldn't be SAVE an
PARAMETER at the same time; removing the SAVE attribute causes an error
that a BIND(C) variable may not be a PARAMETER, thus that has to be
fixed as well.
(Patch based on the one of Steven
Build and regtested on x86-64-linux.
OK for the trunk?
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c_ptr-fix.diff
Type: text/x-patch
Size: 2323 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20111128/0a638fba/attachment.bin>
More information about the Fortran
mailing list