Report :
========
Using built-in specs.
Target: powerpc-apple-darwin9.8.0
Configured with: ./configure
Thread model: posix
gcc version 4.4.3 (GCC) 
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.5.8' '-v' '-save-temps' '-c'
 /usr/local/libexec/gcc/powerpc-apple-darwin9.8.0/4.4.3/f951 prog.f90 -fPIC
-quiet -dumpbase prog.f90 -mmacosx-version-min=10.5.8 -auxbase prog -version
-fintrinsic-modules-path
/usr/local/lib/gcc/powerpc-apple-darwin9.8.0/4.4.3/finclude -o prog.s
GNU Fortran (GCC) version 4.4.3 (powerpc-apple-darwin9.8.0)
        compiled by GNU C version 4.4.3, GMP version 5.0.1, MPFR version 2.4.2.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
prog.f90:3.17:

NAMELIST/TOTO/TAB
                 1
Error: NAMELIST attribute conflicts with ALLOCATABLE attribute in 'tab' at (1)
========

Test file :
========
PROGRAM MAIN
REAL, DIMENSION(:), ALLOCATABLE :: TAB
NAMELIST/TOTO/TAB
END PROGRAM MAIN
========

It should work with F2003 new features.


-- 
           Summary: NAMELIST attribute conflicts with ALLOCATABLE attribute
           Product: gcc
           Version: 4.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zazzou at gmail dot com


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

Reply via email to