From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3619 invoked by alias); 17 Apr 2007 14:28:40 -0000 Received: (qmail 3572 invoked by uid 48); 17 Apr 2007 14:28:24 -0000 Date: Tue, 17 Apr 2007 14:28:00 -0000 Message-ID: <20070417142824.3571.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/31605] [4.3 Regression] VRP eliminates a useful test due with conversion from unsigned int to int In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-04/txt/msg01227.txt.bz2 ------- Comment #2 from pinskia at gcc dot gnu dot org 2007-04-17 15:28 ------- Here is a reduced testcase without the other ranges: int put_field (unsigned int start) { int cur_bitshift; if (start <= 4294967288U) return start; cur_bitshift = start; if (cur_bitshift > -8) not_removed (); return 0; } -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-04-17 15:28:24 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31605