------- 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->ts.cl->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->ts.cl->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| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33455