[Bug fortran/43062] NAMELIST attribute conflicts with ALLOCATABLE attribute

2011-01-18 Thread zazzou at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43062

--- Comment #20 from Xavier  2011-01-18 13:14:38 UTC 
---
Hi,

so, I am bit lost, "bug" is resolved or not ?
Correction available with next version of gcc ?

Thanks,

Xavier


[Bug fortran/43062] NAMELIST attribute conflicts with ALLOCATABLE attribute

2011-01-28 Thread zazzou at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43062

--- Comment #26 from Xavier  2011-01-28 09:11:27 UTC 
---
Thanks for your work.

Question : I tried to build my own version, but i did not succeed.
 (1) gcc-4.5.2 : ok
 (2) gcc-4.5.2 + modified/added files from trunk (4.6) : compilation error on
file match.c
 (3) gcc-4.6 (from trunk) : some errors... (I don't remerber)

Is it normal that test (2) did not work ? 
Do i need to modify directly files related to this bug report ?


[Bug fortran/43062] NAMELIST attribute conflicts with ALLOCATABLE attribute

2011-01-29 Thread zazzou at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43062

--- Comment #28 from Xavier  2011-01-29 21:47:19 UTC 
---
I tried again to build gcc 4.6 (from svn) and i succeeded. The patch works
fine.

Thanks.


[Bug fortran/43062] New: NAMELIST attribute conflicts with ALLOCATABLE attribute

2010-02-14 Thread zazzou at gmail dot com
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



[Bug fortran/43062] NAMELIST attribute conflicts with ALLOCATABLE attribute

2010-02-15 Thread zazzou at gmail dot com


--- Comment #4 from zazzou at gmail dot com  2010-02-15 08:17 ---
(In reply to comment #3)
> I've posted a question to c.l.f about this code.  I 
> believe the language of the standard is contradictory
> and as such the code can be interpreted as illegal or
> legal.
> 
> http://groups.google.com/group/comp.lang.fortran/browse_frm/thread/76b23c9927b52161#
> 

Into the final committee draft J3/03-007R2, section 5.4, I found :

C574 (R553) A namelist-group-object shall not be an assumed-size array.

It was not the case in F95.


-- 


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