From patchwork Tue Oct 20 21:27:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 533188 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id D24201401DE for ; Wed, 21 Oct 2015 08:29:26 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=n2gTBA5h; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references; q=dns; s= default; b=lvzhH/hmL/vT2aUtALkqv+XRqgoyC7uVdIVeB7xWoi/XpYMJm+g01 3rYOXm8emevaZRl+uf42O372QLMyojsMrBdmm+pdfr+kWi7FNoKoUsfUPH6vx6R4 k1WTWk1z66uYbSXm+H8bI9LL8NdH6zqIDXkRMofsO8IhlX+G1PMZqA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references; s= default; bh=2MFqPtDJR2scEwTZftuDCfkQJpw=; b=n2gTBA5hSv9n+35NRtu6 F91Z/Cb3qFJ3qbZQRMZtjQf534BaoNK9i/PT39NRvEAcLN4uEqUMbvRdBRXU7kq0 +raX2w7/nzwFDbCx1DunzVqwcxQz2oPnP6hxsxZkDVsGbmkFMZAED8F69eOfvnCN ZIGtDIbYENzvtfMiXMFeVSY= Received: (qmail 110411 invoked by alias); 20 Oct 2015 21:28:11 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 110310 invoked by uid 89); 20 Oct 2015 21:28:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f42.google.com Received: from mail-pa0-f42.google.com (HELO mail-pa0-f42.google.com) (209.85.220.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 20 Oct 2015 21:28:08 +0000 Received: by pacfv9 with SMTP id fv9so33499368pac.3 for ; Tue, 20 Oct 2015 14:28:06 -0700 (PDT) X-Received: by 10.68.201.33 with SMTP id jx1mr6138920pbc.75.1445376486545; Tue, 20 Oct 2015 14:28:06 -0700 (PDT) Received: from bigtime.com (cpe-50-113-10-46.hawaii.res.rr.com. [50.113.10.46]) by smtp.gmail.com with ESMTPSA id de4sm5422136pbb.60.2015.10.20.14.28.04 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Oct 2015 14:28:05 -0700 (PDT) From: Richard Henderson To: gcc-patches@gcc.gnu.org Cc: richard.guenther@gmail.com Subject: [PATCH v2 09/13] Fix PR 66768 Date: Tue, 20 Oct 2015 11:27:09 -1000 Message-Id: <1445376433-14658-10-git-send-email-rth@redhat.com> In-Reply-To: <1445376433-14658-1-git-send-email-rth@redhat.com> References: <1445376433-14658-1-git-send-email-rth@redhat.com> X-IsSubscribed: yes --- gcc/tree-ssa-address.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/tree-ssa-address.c b/gcc/tree-ssa-address.c index 042f9c9..bd10ae7 100644 --- a/gcc/tree-ssa-address.c +++ b/gcc/tree-ssa-address.c @@ -388,7 +388,7 @@ create_mem_ref_raw (tree type, tree alias_ptr_type, struct mem_address *addr, } else { - base = build_int_cst (ptr_type_node, 0); + base = build_int_cst (build_pointer_type (type), 0); index2 = addr->base; }