Message ID | 540E9E97.6040602@net-b.de |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-return-377172-incoming=patchwork.ozlabs.org@gcc.gnu.org> 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 7386E1401B5 for <incoming@patchwork.ozlabs.org>; Tue, 9 Sep 2014 16:31:04 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; q=dns; s= default; b=WvXEP7lNeq1dFKbe8V3496b5zJyXnDAhzQhz6EDR/s6iEmJnkebNL glqGow+11gxc5n7apkSTifUY0lE5zQ2f/wlpwjYSKbikjegbDvjVc06oU/RLy+9u uS9SupzwNsvVEHHSt5rjdUhHDBqSQJmCBI/Uy4QTT8gbke4S7Ulwo4= 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 :message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s=default; bh=+R+a0OmkdgHMAorNLelLhiNSDxY=; b=YeNYjgbds4UygBicDX1BU4ophKL7 Qs3G3qjv7s3ftUBk0QN0Ho8Xq1KccuW1t2jxlCAREL6JpR603di+eUXF8+ioxdfc v0DuSQceFTS1d73FA+t9N24J0ZyTpb5yzOGS4F5XucKiNfYxiXfGze/8DzPUgvXP 7eV9jiK5m2SxGtc= Received: (qmail 20909 invoked by alias); 9 Sep 2014 06:30:58 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-patches.gcc.gnu.org> List-Unsubscribe: <mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-help@gcc.gnu.org> Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 20889 invoked by uid 89); 9 Sep 2014 06:30:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx02.qsc.de Received: from mx02.qsc.de (HELO mx02.qsc.de) (213.148.130.14) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 09 Sep 2014 06:30:56 +0000 Received: from tux.net-b.de (port-92-194-105-242.dynamic.qsc.de [92.194.105.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPSA id 9B32D24CEA; Tue, 9 Sep 2014 08:30:51 +0200 (CEST) Message-ID: <540E9E97.6040602@net-b.de> Date: Tue, 09 Sep 2014 08:30:47 +0200 From: Tobias Burnus <burnus@net-b.de> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: Alessandro Fanfarillo <fanfarillo.gcc@gmail.com>, gfortran <fortran@gcc.gnu.org>, gcc-patches <gcc-patches@gcc.gnu.org> Subject: Re: [PATCH, Fortran] Wrong invocation of caf_atomic_op References: <CAHqFgjXx_T=wG88mTAcCT2xK01XkZG3CTCBm44moELAYBMbJmg@mail.gmail.com> In-Reply-To: <CAHqFgjXx_T=wG88mTAcCT2xK01XkZG3CTCBm44moELAYBMbJmg@mail.gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit |
--- a/gcc/fortran/trans-intrinsic.c +++ b/gcc/fortran/trans-intrinsic.c @@ -8398,3 +8398,3 @@ conv_intrinsic_atomic_op (gfc_code *code) - if (TREE_TYPE (TREE_TYPE (atom)) != TREE_TYPE (TREE_TYPE (value))) + if (!POINTER_TYPE_P (TREE_TYPE (value))) {