From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28078 invoked by alias); 14 Mar 2007 20:53:51 -0000 Received: (qmail 28045 invoked by uid 48); 14 Mar 2007 20:53:41 -0000 Date: Wed, 14 Mar 2007 20:53:00 -0000 Message-ID: <20070314205341.28044.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/31169] Bootstrap comparison error at revision 122821 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth 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-03/txt/msg01332.txt.bz2 ------- Comment #1 from rguenth at gcc dot gnu dot org 2007-03-14 20:53 ------- --- ChangeLog (revision 122820) +++ ChangeLog (revision 122821) @@ -1,3 +1,12 @@ +2007-03-11 Richard Guenther + + PR tree-optimization/31115 + * tree-vrp.c (extract_range_from_binary_expr): Make sure + the shift count is positive and non-anti-range for RSHIFT_EXPR. + A shift count of zero is not special as with *_DIV_EXPR. + (vrp_int_const_binop): Handle RSHIFT_EXPR for determining overflow + direction. + oh well. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31169