This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] Experimental LEN_TRIM and TRIM patch
- From: Daniel Kraft <d at domob dot eu>
- To: Jerry DeLisle <jvdelisle at verizon dot net>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 12 Feb 2009 17:12:33 +0100
- Subject: Re: [Patch, Fortran] Experimental LEN_TRIM and TRIM patch
- References: <49933925.90909@domob.eu> <499446FD.6070806@domob.eu> <4994482D.7070708@verizon.net>
Jerry DeLisle wrote:
Daniel Kraft wrote:
Slightly improved patch and ChangeLog.
This is OK for 4.5. I think the case of short strings is not very
likely. I suppose even for that we could special case it.
Thanks, but I of course still need to figure out how to check for 64-bit
systems with the preprocessor :)
We could of course do a special case, but the problem is not about
overall string length but rather *few trailing blanks*. So as I too
believe longer strings are more often encountered (and of course for
short strings both versions are quite fast), I think we can leave it
like this.
I will update the Wiki's patch-tracker once I've got the final patch
with correct conditional compilation.
BTW, no regressions on GNU/Linux-x86-32. But It would be cool to test
this on other systems (and 64-bit ones) as well once the final patch is
there.
Daniel
--
Done: Arc-Bar-Cav-Ran-Rog-Sam-Tou-Val-Wiz
To go: Hea-Kni-Mon-Pri