This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] |
Not sure if I got this one correctly, but it seems to me this handles the concatenation operator; if not, I do not see why we simply add the lengths and are done. If I'm right, maybe we should at least assert it here?
Well, I am adding the lengths but am converting the expressions recursively. I haven't thought this through entirely but I suspect that this function might be the best general purpose character length calculator that we have. I might just try rolling it out into other places that have cause trouble in the past.
Assert what, exactly?
gcc_assert (e->u.op.op == OP_CONCAT); (with the names fixed accordingly)
Cheers, Daniel
-- Done: Arc-Bar-Cav-Ran-Rog-Sam-Tou-Val-Wiz To go: Hea-Kni-Mon-Pri
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |