------- Comment #6 from burnus at gcc dot gnu dot org  2007-04-25 19:49 -------
Has anyone any objection if I change the purpose of this PR to:
---------
gfortran should detect that the local variable ncoset is never allocated -
as NAG f95 does:
Error: foo.f90, line 45: ALLOCATABLE array NCOSET used but never ALLOCATEd
This includes 
---------

Regarding the original problem with CP2k: A dependence on the optimization
options usually indicates a middle-end problem rather than a (Fortran)
front-end problem. As it occurred around the time I got core-dumps for the
Polyhedron test cases, the easiest is probably to wait until PR 31699 and PR
31697 are fixed. If we are lucky, CP2k is then fixed as well. If not, well,
then one can still dig for the problem.


-- 


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

Reply via email to