From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4229 invoked by alias); 5 Apr 2004 00:23:29 -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 4212 invoked by uid 48); 5 Apr 2004 00:23:28 -0000 Date: Mon, 05 Apr 2004 00:23:00 -0000 Message-ID: <20040405002328.4211.qmail@sources.redhat.com> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040307040255.14466.pinskia@gcc.gnu.org> References: <20040307040255.14466.pinskia@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug optimization/14466] missed PHI optimization (different types) X-Bugzilla-Reason: CC X-SW-Source: 2004-04/txt/msg00386.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-05 00:23 ------- I finnally figured out how to fix the disabled parts of my patch and I am testing the patch right now. Note with my cast pass also, it reduces both testcases to: int t1(int i) { int j1 = i == 0; return j1; } or int t1(int i) { return i == 0; } -- What |Removed |Added ---------------------------------------------------------------------------- Keywords| |memory-hog, pessimizes-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14466