From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 923 invoked by alias); 20 Jul 2005 14:21:00 -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 895 invoked by uid 48); 20 Jul 2005 14:20:52 -0000 Date: Wed, 20 Jul 2005 14:27:00 -0000 Message-ID: <20050720142052.894.qmail@sourceware.org> From: "matz at suse dot de" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050720134633.22568.arndt@jjj.de> References: <20050720134633.22568.arndt@jjj.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/22568] Should use cmov in some stituations X-Bugzilla-Reason: CC X-SW-Source: 2005-07/txt/msg02398.txt.bz2 List-Id: ------- Additional Comments From matz at suse dot de 2005-07-20 14:20 ------- This still happens with 4.1. I also can't make it use two cmovs, by changing the source a bit, e.g. like: typedef unsigned long ulong; extern ulong use (ulong, ulong); ulong f(ulong a, ulong b) { ulong tmp = a; if (a < b) { a = b; b = tmp; } return use (a, b); } -- What |Removed |Added ---------------------------------------------------------------------------- CC| |matz at suse dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22568