Patchwork [fortran] Remove unused GFC_MAX_LINE macro

login
register
mail settings
Submitter Janne Blomqvist
Date March 23, 2012, 8:57 a.m.
Message ID <CAO9iq9Ga7CzK-3AyZoTaBLBvUAxwAkOCcbPUEzT53XKAs9x2MA@mail.gmail.com>
Download mbox | patch
Permalink /patch/148398/
State New
Headers show

Comments

Janne Blomqvist - March 23, 2012, 8:57 a.m.
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.

Patch

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