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] Fix PR optimize/3508



On Thu, 27 Dec 2001, Richard Henderson wrote:

> On Thu, Dec 27, 2001 at 01:46:03PM -0700, Roger Sayle wrote:
> > 	* builtins.c (expand_builtin_memcmp): Optimize memcmp built-in
> > 	when all arguments are known constant.  Fixes PR opt/3508.
> > 	* gcc.c-torture/execute/string-opt-16.c: New testcase.
>
> Applied.
>
> Not sure how many more of these I'll take, since we're supposed
> to be in bug fix only mode.  This, however, was simple enough to
> be obvious.

Many thanks.  I realise it was a borderline case, and only submitted
the patch because it had an open PR.  I'll stick to medium and high
priority PRs for the rest of the freeze.

Roger
--


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