From owner-svn-src-all@FreeBSD.ORG Thu Nov 14 20:21:06 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 71C349E4; Thu, 14 Nov 2013 20:21:06 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 60A722AED; Thu, 14 Nov 2013 20:21:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAEKL6Bo074271; Thu, 14 Nov 2013 20:21:06 GMT (envelope-from pfg@svn.freebsd.org) Received: (from pfg@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAEKL67B074269; Thu, 14 Nov 2013 20:21:06 GMT (envelope-from pfg@svn.freebsd.org) Message-Id: <201311142021.rAEKL67B074269@svn.freebsd.org> From: "Pedro F. Giffuni" Date: Thu, 14 Nov 2013 20:21:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r258143 - head/contrib/gcc X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2013 20:21:06 -0000 Author: pfg Date: Thu Nov 14 20:21:05 2013 New Revision: 258143 URL: http://svnweb.freebsd.org/changeset/base/258143 Log: Merge vrp-tree fix from gcc-4.3 Fix missed conversion from / to >> (GCC PR32521) Note that vrp-tree is currently disabled by default in FreeBSD's gcc due many bugs. While here fix a revision number in the 4.3 Changelog. Obtained from: gcc 4.3 (rev. 122831 - partial; GPLv2) MFC after: 3 weeks Modified: head/contrib/gcc/ChangeLog.gcc43 head/contrib/gcc/tree-vrp.c Modified: head/contrib/gcc/ChangeLog.gcc43 ============================================================================== --- head/contrib/gcc/ChangeLog.gcc43 Thu Nov 14 20:07:17 2013 (r258142) +++ head/contrib/gcc/ChangeLog.gcc43 Thu Nov 14 20:21:05 2013 (r258143) @@ -1,4 +1,4 @@ -2007-06-05 Joerg Wunsch (r23479) +2007-06-05 Joerg Wunsch (r125346) PR preprocessor/23479 * doc/extend.texi: Document the 0b-prefixed binary integer @@ -49,6 +49,11 @@ * config/i386/i386.c (override_options): Likewise. * doc/invoke.texi: Likewise. +2007-03-11 Ian Lance Taylor (r122831 - partial) + + * tree-vrp.c (vrp_int_const_binop): Handle PLUS_EXPR and + the *_DIV_EXPR codes correctly with overflow infinities. + 2007-02-09 Dwarakanath Rajagopal (r121763) * config/i386/driver-i386.c: Turn on -mtune=native for AMDFAM10. Modified: head/contrib/gcc/tree-vrp.c ============================================================================== --- head/contrib/gcc/tree-vrp.c Thu Nov 14 20:07:17 2013 (r258142) +++ head/contrib/gcc/tree-vrp.c Thu Nov 14 20:21:05 2013 (r258143) @@ -4914,7 +4914,7 @@ simplify_div_or_mod_using_ranges (tree s { bool sop = false; - val = compare_range_with_value (GT_EXPR, vr, integer_zero_node, &sop); + val = compare_range_with_value (GE_EXPR, vr, integer_zero_node, &sop); if (val && sop