Fortran question

Dale Johannesen dalej@apple.com
Tue Aug 3 01:10:00 GMT 2004


With IMA, I've discovered that one of the Fortran SPEC benchmarks 
(fma3d)
has a named common block that is different sizes in different source 
files, in
violation of both the f77 and f90 standards.  However, the fact that 
this program
normally works, presumably in a lot of different environments, when it 
would
be easy to detect the error at linktime, suggests that maybe it is used 
a fair
amount in existing code, and maybe it would be a good idea for the 
compiler
to accept it.  What do the Fortran experts think?  Thanks.



More information about the Gcc mailing list