g77 compiles illegal code in testsuite?

Toon Moene toon@moene.indiv.nluug.nl
Fri May 23 22:57:00 GMT 2003


Steven G. Kargl wrote:

> It's Toon's call, but I think g77 should issue an error and
> abort.  The g77 info contains a -fno-ugly-args option.  I
> would think you should need -fugly-args to compile the code
> in question.

I think I agree with that stance.

>>Of course, IMHO, g95 should be backwards compatable with g77 :)

> This may not happen, because Fortran 95 has deleted a few
> features from Fortran 77.

Ah yes, the language has.  However, as compiler writers we could decide 
to include the complete language g77 compiles into the language g95 
compiles.

This would have the obvious benefit of making g77 superfluous and 
reducing our maintenance burden.

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc-g95.sourceforge.net/ (under construction)



More information about the Gcc mailing list