------- Comment #7 from ronis at ronispc dot chem dot mcgill dot ca  2008-08-25 
21:45 -------
As per the suggestions, I replaced the all instances of array declarations like
X(1) to X(*) and the problem goes away.  Whether it is the current standard or
not, it was legal years ago, and tons of legacy code (like this one) have it. 
Note that this is only one part of a large (ancient) fortran library, which as
far as I can tell, uses syntax like X(1) to declare function/subroutine
arguments all over the place.  The regression was triggered only by this file. 
 Also note, as I mentioned in the initial report, that this code compiled just
fine under earlier versions of gfortran.

Like Dominique in Comment #6, I'd urge you to fix this.   Most of the
programming many scientists and engineers do today is in C or C++, and we rely
on fortran for legacy applications.   Indeed, in my university, fortran is not
taught any more.





-- 


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

Reply via email to