From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29746 invoked by alias); 16 Mar 2005 14:59:54 -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 29719 invoked by uid 48); 16 Mar 2005 14:59:52 -0000 Date: Wed, 16 Mar 2005 14:59:00 -0000 Message-ID: <20050316145952.29718.qmail@sourceware.org> From: "kazu at cs dot umass dot edu" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050206135036.19792.kazu@cs.umass.edu> References: <20050206135036.19792.kazu@cs.umass.edu> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug tree-optimization/19792] Missed optimizations due to signedness in the way X-Bugzilla-Reason: CC X-SW-Source: 2005-03/txt/msg01958.txt.bz2 List-Id: ------- Additional Comments From kazu at cs dot umass dot edu 2005-03-16 14:59 ------- FYI, here is the tailc dump that I get with the current mainline. ;; Function foo (foo) foo (t) { unsigned char D.1137; unsigned int t.1; unsigned char D.1135; int t.0; int D.1133; : t.0_2 = (int) t_1; D.1135_4 = size_lookup[t.0_2]; D.1137_6 = size_lookup[t_1]; D.1133_7 = D.1135_4 == D.1137_6; return D.1133_7; } ;; Function bar (bar) bar (t) { int a; unsigned int a.2; int D.1142; : a_2 = (int) t_1; a.2_3 = (unsigned int) a_2; D.1142_4 = t_1 == a.2_3; return D.1142_4; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19792