From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 41033 invoked by alias); 18 Jun 2015 10:12:59 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 41024 invoked by uid 89); 18 Jun 2015 10:12:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: eu-smtp-delivery-143.mimecast.com Received: from eu-smtp-delivery-143.mimecast.com (HELO eu-smtp-delivery-143.mimecast.com) (146.101.78.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 18 Jun 2015 10:12:56 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-7-VELlEbGJTS6e0xgU93-8-w-1 Received: from shawin233 ([10.1.2.79]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 18 Jun 2015 11:12:53 +0100 From: "Bin Cheng" To: Subject: [PATCH PR66449]Fix ICE by using POINTER_PLUS_EXPR for pointers. Date: Thu, 18 Jun 2015 10:14:00 -0000 Message-ID: <000601d0a9af$51b0b310$f5121930$@arm.com> MIME-Version: 1.0 X-MC-Unique: VELlEbGJTS6e0xgU93-8-w-1 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg01251.txt.bz2 Hi, This patch fixes ICE in PR66449 by using POINTER_PLUS_EXPR for pointers. Bootstrap and test on x86_64. Is it OK trunk? Thanks, bin 2015-06-18 Bin Cheng PR tree-optimization/66449 * tree-ssa-loop-niter.c (loop_exits_before_overflow): Use POINTER_PLUS_EXPR for pointers. gcc/testsuite/ChangeLog 2015-06-18 Bin Cheng PR tree-optimization/66449 * gcc.dg/vect/pr66449.c: New.