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

Re: [PATCH] Optimize character :: c ... (c .ne. 'ab')


Jakub Jelinek wrote:
> As has been discussed yesterday, if LEN_TRIM of a string literal
> is longer than the other string length, the strings are known to
> compare unequal (it isn't known whether they are < or > at compile time
> though).
>
> The following patch optimizes that.
>
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?

OK. Thanks for the patch!

Tobias


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