http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51308
Bug #: 51308 Summary: PARAMETER attribute conflicts with SAVE attribute Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: matthias.moel...@math.tu-dortmund.de module mymod use iso_c_binding implicit none private public :: c_ptr public :: c_null_ptr end module mymod does not compile and gives the following error $> gfortran -c test.f90 test.f90:7.22: public :: c_null_ptr 1 Error: PARAMETER attribute conflicts with SAVE attribute in 'c_null_ptr' at (1)