public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/51308] New: PARAMETER attribute conflicts with SAVE attribute
@ 2011-11-26  9:24 matthias.moeller at math dot tu-dortmund.de
  2011-11-26 20:50 ` [Bug fortran/51308] " kargl at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: matthias.moeller at math dot tu-dortmund.de @ 2011-11-26  9:24 UTC (permalink / raw)
  To: gcc-bugs

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)


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-11-28 14:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-26  9:24 [Bug fortran/51308] New: PARAMETER attribute conflicts with SAVE attribute matthias.moeller at math dot tu-dortmund.de
2011-11-26 20:50 ` [Bug fortran/51308] " kargl at gcc dot gnu.org
2011-11-27 22:14 ` sgk at troutmask dot apl.washington.edu
2011-11-28  9:35 ` burnus at gcc dot gnu.org
2011-11-28 14:22 ` sgk at troutmask dot apl.washington.edu
2011-11-28 14:24 ` burnus at gcc dot gnu.org
2011-11-28 14:28 ` burnus at gcc dot gnu.org
2011-11-28 14:38 ` burnus at gcc dot gnu.org
2011-11-28 15:17 ` burnus at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).