This is the mail archive of the 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/33455] MERGE intrinsic: Check for same string lengths

------- Comment #1 from fxcoudert at gcc dot gnu dot org  2007-09-20 11:16 -------
I think the primary.c patchlet could mess up with more than diagnostics: the
difference between expr->>length etc. and expr->value.character.length is
used in quite a few places in the front-end, I think.

Why not having a gfc_check_same_length() helper function that would look at
both expr->>length etc. and expr->value.character.length to handle all
three cases: (var,var), (parameter,parameter) and (var,parameter)?


fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2007-09-20 11:16:36
               date|                            |

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