This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, fortran] Remove unused GFC_MAX_LINE macro


Hi,

the maximum line length is nowadays decided dynamically at runtime as
specified by the chosen standard version, or overridden by the
-fline-length option. The patch below removes the GFC_MAX_LINE macro
which is no longer used. Committed to trunk as obvious.


Index: gfortran.h
===================================================================
--- gfortran.h  (revision 185726)
+++ gfortran.h  (working copy)
@@ -42,7 +42,6 @@ along with GCC; see the file COPYING3.
 /* Major control parameters.  */

 #define GFC_MAX_SYMBOL_LEN 63   /* Must be at least 63 for F2003.  */
-#define GFC_MAX_LINE 132       /* Characters beyond this are not seen.  */
 #define GFC_LETTERS 26         /* Number of letters in the alphabet.  */

 #define MAX_SUBRECORD_LENGTH 2147483639   /* 2**31-9 */
Index: ChangeLog
===================================================================
--- ChangeLog   (revision 185726)
+++ ChangeLog   (working copy)
@@ -1,3 +1,7 @@
+2012-03-23  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       * gfortran.h (GFC_MAX_LINE): Remove unused macro.
+
 2012-03-19  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

        PR fortran/52559


-- 
Janne Blomqvist


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]