From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8395 invoked by alias); 23 Feb 2007 13:05:05 -0000 Received: (qmail 8290 invoked by alias); 23 Feb 2007 13:04:54 -0000 Date: Fri, 23 Feb 2007 13:05:00 -0000 Message-ID: <20070223130454.8289.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/30911] VRP fails to eliminate range checks in Ada code In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "baldrick at free dot fr" 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-02/txt/msg02655.txt.bz2 ------- Comment #20 from baldrick at free dot fr 2007-02-23 13:04 ------- Subject: Re: VRP fails to eliminate range checks in Ada code > !POINTER_TYPE_P I'm testing with INTEGRAL_TYPE_P. By the way, I see a lot a anti-range canonicalization going on in C code. A lot of code where u is of an unsigned type checks whether u!=0. This now gets turned into the range [1,INF] which I guess is a good thing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30911