This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Fortran fugly-comma problem
- From: Greg Lindahl <lindahl at pbm dot com>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 4 Aug 2003 17:03:49 -0700
- Subject: Fortran fugly-comma problem
I'm running gcc-3.2.2 as distributed in redhat 9.
1) The g77 info pages don't explain what happens when you have null
arguments which aren't at the end of a call list, e.g. this is
explained:
CALL FOO (A, B, C, )
but this is not:
CALL FOO (A, , C )
The right place is: *Note Ugly Null Arguments::
2) g77 -Wall does not generate a warning for either of the above
calls. It should generate a warning for both if -fugly-commas is not
active, since this is not f77 standard, plus it is not a common
extension.
-- greg