[PATCH] Optimize character :: c ... (c .ne. 'ab')
Tobias Burnus
tobias.burnus@physik.fu-berlin.de
Thu Jul 15 07:34:00 GMT 2010
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
More information about the Gcc-patches
mailing list