From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16564 invoked by alias); 28 Oct 2005 18:18:17 -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 16539 invoked by uid 48); 28 Oct 2005 18:18:14 -0000 Date: Fri, 28 Oct 2005 18:18:00 -0000 Message-ID: <20051028181814.16538.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/24568] Missed optimization: trivialization of silly code In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" X-SW-Source: 2005-10/txt/msg03684.txt.bz2 List-Id: ------- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-28 18:18 ------- Last but not least is: int f(int i) { if (i < 0) return i/10; return i/10; } int f2(int i) { return i/10; } Which is converted at the rtl level but not at the tree level (I think there is a bug about this already). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24568