This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Fortran question
- From: Dale Johannesen <dalej at apple dot com>
- To: gcc_mailing_list List <gcc at gcc dot gnu dot org>
- Cc: Toon Moene <toon at moene dot indiv dot nluug dot nl>, Dale Johannesen <dalej at apple dot com>
- Date: Mon, 2 Aug 2004 18:10:46 -0700
- Subject: Fortran question
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.