From patchwork Thu Jan 2 01:56:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Stump X-Patchwork-Id: 306017 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 5A13A2C007A for ; Thu, 2 Jan 2014 12:57:05 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; q=dns; s=default; b=ZwMuSwkJdleC9xIGj tTHAjMJ9bHuRi1MzZfSix+WSeIOo71s33oJpB+xp0gMXUrYNnyZrmK+1xnPO8Q3z MRXbo5VapD6j7UFIseEMiiOvHq/BRPq6CB/UBFYADTs0yZQiuhQu5tvZijyxXx4/ Ju1tc5cf1M5OvKneE59UyZabzI= 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 :content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; s=default; bh=sEndvdM4bCjN1KA2fcm9F1b 98KU=; b=cG33Cgn49+on7vnadEXTgR7I+LujLbieeYJ2uYx7qXYOtp7RxKFgNUP IjU7tg3Z5/bkFcRBtizHOyloo4TfIjvqJ1PJKv/D3Uc87DhmMQxRMNIXI/ieBPv8 pHBurT88d77217bCcETnpLp7hxvY8Rf1ERNYoEV27IKraAMzMUOI= Received: (qmail 25222 invoked by alias); 2 Jan 2014 01:56:59 -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 25212 invoked by uid 89); 2 Jan 2014 01:56:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: qmta15.emeryville.ca.mail.comcast.net Received: from qmta15.emeryville.ca.mail.comcast.net (HELO qmta15.emeryville.ca.mail.comcast.net) (76.96.27.228) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 02 Jan 2014 01:56:58 +0000 Received: from omta01.emeryville.ca.mail.comcast.net ([76.96.30.11]) by qmta15.emeryville.ca.mail.comcast.net with comcast id 8po91n0030EPchoAFpwoAJ; Thu, 02 Jan 2014 01:56:48 +0000 Received: from up.mrs.kithrup.com ([24.4.193.8]) by omta01.emeryville.ca.mail.comcast.net with comcast id 8pvL1n00S0BKwT48Mpwws6; Thu, 02 Jan 2014 01:56:56 +0000 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: wide-int, OpenMP From: Mike Stump In-Reply-To: Date: Wed, 1 Jan 2014 17:56:56 -0800 Cc: "gcc-patches@gcc.gnu.org Patches" , Jakub Jelinek , Kenneth Zadeck Message-Id: <37BDAFF2-BA2C-4602-8209-97EDD47A2803@comcast.net> References: To: Mike Stump X-IsSubscribed: yes On Nov 23, 2013, at 11:22 AM, Mike Stump wrote: > Richi has asked the we break the wide-int patch so that the individual port and front end maintainers can review their parts without have to go through the entire patch. This patch covers the OpenMP code. > > Ok? Ping? * omp-low.c (scan_omp_1_op): Use wide-int interfaces. diff --git a/gcc/omp-low.c b/gcc/omp-low.c index 2995060..d26139c 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -2530,9 +2530,7 @@ scan_omp_1_op (tree *tp, int *walk_subtrees, void *data) if (tem != TREE_TYPE (t)) { if (TREE_CODE (t) == INTEGER_CST) - *tp = build_int_cst_wide (tem, - TREE_INT_CST_LOW (t), - TREE_INT_CST_HIGH (t)); + *tp = wide_int_to_tree (tem, t); else TREE_TYPE (t) = tem; }