This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Finish off PR15784
- From: Roger Sayle <roger at eyesopen dot com>
- To: "James A. Morrison" <ja2morri at csclub dot uwaterloo dot ca>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 1 Mar 2005 21:47:07 -0700 (MST)
- Subject: Re: [PATCH] Finish off PR15784
On 24 Feb 2005, James A. Morrison wrote:
> ja2morri@csclub.uwaterloo.ca (James A. Morrison) writes:
> PING: http://gcc.gnu.org/ml/gcc-patches/2005-02/msg00905.html
Sorry for the delay (some postings slipped through the cracks
whilst I was away at our annual user group meeting).
> 2005-02-16 James A. Morrison <phython@gcc.gnu.org>
>
> * fold-const.c (fold): Fold ~A + 1 to -1. Fold -A - 1
> and -1 - A to ~A.
This is OK for mainline, though you're missing the ChangeLog entry
for your new deja-gnu testcase. From reading the bugzilla PR, it
also looks like you should reference PR tree-optimization/15784 in
your ChangeLog entry.
Thanks again for tackling this.
Roger
--