public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/20541] New: INTEGER type declaration: ALLOCATABLE, compilation error
@ 2005-03-18 20:43 madbosun at gmail dot com
  2005-04-22 12:43 ` [Bug fortran/20541] TR 15581: ALLOCATABLE components fxcoudert at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 38+ messages in thread
From: madbosun at gmail dot com @ 2005-03-18 20:43 UTC (permalink / raw)
  To: gcc-bugs

This line is a allocatable integer type declaration in a standard module

"
gfortran -ffree-form -O3 -c dvr.f90
 In file dvr.f90:8

    INTEGER(kind=4), ALLOCATABLE :: glmark(:)
                               1
Error: Attribute at (1) is not allowed in a TYPE definition
make: *** [dvr.mod] Error 1
"

And so the compiler exits on the error

The partial source for the module.

MODULE DVR
  implicit none
!  PRIVATE
  PUBLIC :: buildgrid, writegrid, creategrid1, creategrid2, ecscreategrid1,
ecscreategrid2

  TYPE dvrgrid
    INTEGER(kind=4) :: gln, nfe, cess, nnodes, nreal, ncomplex, gnn, fim, lim
    INTEGER(kind=4), ALLOCATABLE :: glmark(:)
    REAL(kind=8) :: phi
    REAL(kind=8), pointer :: fenodes(:), gnodes(:), rnodes(:), wr(:)
    COMPLEX(kind=8), pointer :: znodes(:), wz(:)
  END TYPE dvrgrid

!  INTERFACE buildgrid
!    MODULE PROCEDURE creategrid1, creategrid2, ecscreategrid1, ecscreategrid2
  END INTERFACE

  INTERFACE D1node
    MODULE PROCEDURE D1glnode, D1gennode
  END INTERFACE

CONTAINS

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

END MODULE DVR

-- 
           Summary: INTEGER type declaration: ALLOCATABLE, compilation error
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: madbosun at gmail dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: Intel Opteron


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20541


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

end of thread, other threads:[~2006-10-17 11:48 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-20541-10302@http.gcc.gnu.org/bugzilla/>
2006-03-12 18:07 ` [Bug fortran/20541] TR 15581: ALLOCATABLE components eedelman at gcc dot gnu dot org
2006-03-12 19:53 ` steven at gcc dot gnu dot org
2006-05-09 21:27 ` tkoenig at gcc dot gnu dot org
2006-07-12 14:21 ` paul dot richard dot thomas at cea dot fr
2006-07-12 14:24 ` paul dot richard dot thomas at cea dot fr
2006-07-12 19:41 ` pault at gcc dot gnu dot org
2006-07-18 14:35 ` paul dot richard dot thomas at cea dot fr
2006-07-30 21:38 ` eedelman at gcc dot gnu dot org
2006-08-06 22:47 ` howarth at nitro dot med dot uc dot edu
2006-08-09 21:55 ` eedelman at gcc dot gnu dot org
2006-08-10 13:31 ` howarth at nitro dot med dot uc dot edu
2006-08-10 20:23 ` eedelman at gcc dot gnu dot org
2006-08-20 14:37 ` howarth at nitro dot med dot uc dot edu
2006-08-20 17:38 ` eedelman at gcc dot gnu dot org
2006-09-19 16:41 ` pinskia at gcc dot gnu dot org
2006-09-23 16:18 ` paul dot thomas at jet dot uk
2006-09-23 16:24 ` howarth at nitro dot med dot uc dot edu
2006-09-23 18:41 ` howarth at nitro dot med dot uc dot edu
2006-09-24 17:31 ` pault at gcc dot gnu dot org
2006-09-25  5:10 ` howarth at nitro dot med dot uc dot edu
2006-09-25  5:54 ` jvdelisle at gcc dot gnu dot org
2006-09-28 14:07 ` pault at gcc dot gnu dot org
2006-09-29 15:00 ` pault at gcc dot gnu dot org
2006-10-02  3:10 ` howarth at nitro dot med dot uc dot edu
2006-10-02  4:15 ` jvdelisle at gcc dot gnu dot org
2006-10-02  7:21 ` sfilippone at uniroma2 dot it
2006-10-02 21:54 ` pault at gcc dot gnu dot org
2006-10-03 15:49 ` sfilippone at uniroma2 dot it
2006-10-05  5:01 ` patchapp at dberlin dot org
2006-10-08 16:22 ` pault at gcc dot gnu dot org
2006-10-08 16:27 ` pault at gcc dot gnu dot org
2006-10-16 22:30 ` pault at gcc dot gnu dot org
2006-10-17 11:34 ` pault at gcc dot gnu dot org
2006-10-17 11:48 ` fxcoudert at gcc dot gnu dot org
2005-03-18 20:43 [Bug fortran/20541] New: INTEGER type declaration: ALLOCATABLE, compilation error madbosun at gmail dot com
2005-04-22 12:43 ` [Bug fortran/20541] TR 15581: ALLOCATABLE components fxcoudert at gcc dot gnu dot org
2005-07-29  8:45 ` post at tillmann-wegst dot de
2005-09-27 15:21 ` erik dot edelmann at iki dot fi
2005-09-29 19:48 ` erik dot edelmann at iki dot fi

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).