From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24865 invoked by alias); 17 Dec 2004 14:26:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 22808 invoked by uid 48); 17 Dec 2004 14:25:45 -0000 Date: Fri, 17 Dec 2004 14:26:00 -0000 Message-ID: <20041217142545.22807.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041217141606.19055.pinskia@gcc.gnu.org> References: <20041217141606.19055.pinskia@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug rtl-optimization/19055] Minor bit optimization with or and xor X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg02528.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-17 14:25 ------- Another example where we don't get the optimization and f1 is still one instruction (on 32bit PPC): int f(int a,int b) { a|=b; a^=b; return a; } int f1(int a,int b) { return a&=~b; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19055