[patch] Don't accept -fno-{fixed,free}-form
Steven Bosscher
stevenb@suse.de
Tue Jul 26 21:34:00 GMT 2005
Hi,
It seems to me that we should disallow -fno-fixed-form and -fno-free-form.
What do you think of that idea and of the following patch?
Gr.
Steven
* lang.opt (ffixed-form, ffree-form): Reject negatives of
these options.
Index: lang.opt
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fortran/lang.opt,v
retrieving revision 1.16
diff -3 -u -p -r1.16 lang.opt
--- lang.opt 2 Jul 2005 13:19:54 -0000 1.16
+++ lang.opt 26 Jul 2005 21:32:22 -0000
@@ -98,11 +98,11 @@ F95
Use f2c calling convention
ffixed-form
-F95
+F95 RejectNegative
Assume that the source file is fixed form
ffree-form
-F95
+F95 RejectNegative
Assume that the source file is free form
funderscoring
More information about the Fortran
mailing list