This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/51308] New: PARAMETER attribute conflicts with SAVE attribute
- From: "matthias.moeller at math dot tu-dortmund.de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 26 Nov 2011 06:51:23 +0000
- Subject: [Bug fortran/51308] New: PARAMETER attribute conflicts with SAVE attribute
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: matthias.moeller@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)