From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1064 invoked by alias); 4 Dec 2002 13:46:09 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 1028 invoked by uid 71); 4 Dec 2002 13:46:07 -0000 Date: Wed, 04 Dec 2002 05:46:00 -0000 Message-ID: <20021204134607.1025.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Christian Ehrhardt" Subject: Re: c/7479: wrong arithmetic output Reply-To: "Christian Ehrhardt" X-SW-Source: 2002-12/txt/msg00193.txt.bz2 List-Id: The following reply was made to PR c/7479; it has been noted by GNATS. From: "Christian Ehrhardt" To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, olivier.baudron@m4x.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, jakub@redhat.com Cc: Subject: Re: c/7479: wrong arithmetic output Date: Wed, 4 Dec 2002 14:44:42 +0100 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7479 Hi, confirmed on 3.2.1. I tracked this down to a bug in associate_trees that is fixed in 3.3. I didn't check the acutal patch but this change log entry is quite obviously the fix I'm looking for. | 2002-08-05 Jakub Jelinek | | * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one | of the operands into MINUS_EXPR if code is PLUS_EXPR. Could this go into 3.2.2 and the PR closed afterwards? regards Christian -- THAT'S ALL FOLKS!