This is the mail archive of the gcc-bugs@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]

[Bug fortran/33941] [4.3 Regression] gfortran creates module files it can't read



------- Comment #12 from burnus at gcc dot gnu dot org  2007-10-30 17:27 -------
(In reply to comment #11)
> The use of '<', '>', and '=' has been introduced in revision 126468. However
> looking at proc parse_atom in gcc/fortran/module.c, they do not seem to be in
> the recognized character set.

Well, the patch which exactly does in code what you said in words is the
following:

Index: gcc/fortran/module.c
===================================================================
--- gcc/fortran/module.c        (Revision 129766)
+++ gcc/fortran/module.c        (Arbeitskopie)
@@ -1195,6 +1195,11 @@ parse_atom (void)
     case 'X':
     case 'Y':
     case 'Z':
+    /* For intrinsic operators such as /= or >=.  */
+    case '=':
+    case '<':
+    case '>':
+    case '/':
       parse_name (c);
       return ATOM_NAME;


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu dot
                   |                            |org
            Summary|gfortran creates module     |[4.3 Regression] gfortran
                   |files it can't read         |creates module files it
                   |                            |can't read
   Target Milestone|---                         |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33941


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