From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com [68.232.137.252]) by sourceware.org (Postfix) with ESMTPS id 0CECD385840E for ; Mon, 22 Nov 2021 20:42:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0CECD385840E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: iyLQMSV8Evrkhv3rSn6jJCJi57O/7toFl1XHhwSMvDXw3CID9vDBrBRjhhx8J+2NUe/cmuG1AU fFBhzXFJGj2CWrKw0xQG3H3iGA7qQY/tx3z+uXy1C1Rf1f+w3XLUTj2yerNaMQ8WKa3BFd22Pz GOuzPGDi2E7DEnlgKMM2J6GXCRtYfdTsU3v12c5UGsayBqd7YtygpjBBNrW0eTB8A6CFmOWaC5 d4V6qiqEyUV1sTAO+8ajQyBGwFJqT67C+3Sokoc3h2WVvu/mAQOSCbqPxv9WAFg8woHY8pVBES 3aIaXqoIpTq/FVBQH3TvEq2C X-IronPort-AV: E=Sophos;i="5.87,255,1631606400"; d="scan'208";a="68801131" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa4.mentor.iphmx.com with ESMTP; 22 Nov 2021 12:42:02 -0800 IronPort-SDR: ijEud+yBrBFL7sJKNt2ikxSw7cmxOqBWMalE/O0zPuB4cihnPwJA43Jz70fv52A0S4E3BvP97t WoEAKTcy7wHgjAtH2Ss5esjI6QVI4iQG2NmwcCZpcqusl74xqzTdQcZbIoccbXh4XkNm8imhhd WYcGOUH56YlSq8YAxs9xvWfn0HjrHAL9evlIJOV49hTk0wZhVAJ2Nukjp3aGVWqR1YXn7VtBdd 0ZnPLjKsKhwXSGPm//ksmCx7wVmGa0y8i6TxrfBK6ZwL+A+fbpJ4lcisn5ZIQTDgx6y8RpdvU1 toA= Date: Mon, 22 Nov 2021 20:41:57 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Will Wray CC: Subject: Re: [PATCH 3/3] c++: P1997 array-copy extensions: Assignment, return, etc. [PR103238] In-Reply-To: <20211122025114.3167997-4-wjwray@gmail.com> Message-ID: References: <20211122025114.3167997-1-wjwray@gmail.com> <20211122025114.3167997-4-wjwray@gmail.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3116.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2021 20:42:04 -0000 On Sun, 21 Nov 2021, Will Wray via Gcc-patches wrote: > gcc/c/ChangeLog: > > * c-decl.c (grokdeclarator): Don't complain of array returns. A C front-end change like this doesn't belong in a C++ patch (I don't see any reason why this C++ patch would need such a C front-end change, it's not e.g. changing the interface to a function called from shared code but defined separately for both front ends). -- Joseph S. Myers joseph@codesourcery.com