From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id 1D3D13858C78 for ; Wed, 6 Sep 2023 12:19:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1D3D13858C78 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A7B49106F; Wed, 6 Sep 2023 05:20:26 -0700 (PDT) Received: from localhost (e121540-lin.manchester.arm.com [10.32.110.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D2AF63F67D; Wed, 6 Sep 2023 05:19:47 -0700 (PDT) From: Richard Sandiford To: Yang Yujie Mail-Followup-To: Yang Yujie ,gcc-patches@gcc.gnu.org, xry111@xry111.site, xuchenghua@loongson.cn, panchenghui@loongson.cn, chenglulu@loongson.cn, richard.sandiford@arm.com Cc: gcc-patches@gcc.gnu.org, xry111@xry111.site, xuchenghua@loongson.cn, panchenghui@loongson.cn, chenglulu@loongson.cn Subject: Re: [PATCH] LoongArch: Fix unintentional bash-ism in r14-3665. References: <20230906095747.25772-1-yangyujie@loongson.cn> Date: Wed, 06 Sep 2023 13:19:46 +0100 In-Reply-To: <20230906095747.25772-1-yangyujie@loongson.cn> (Yang Yujie's message of "Wed, 6 Sep 2023 17:57:47 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-25.2 required=5.0 tests=BAYES_00,GIT_PATCH_0,KAM_DMARC_NONE,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Yang Yujie writes: > gcc/ChangeLog: > > * config.gcc: remove non-POSIX syntax "<<<". OK. Thanks for the quick fix. Richard. > --- > gcc/config.gcc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/config.gcc b/gcc/config.gcc > index b2fe7c7ceef..6d4c8becd28 100644 > --- a/gcc/config.gcc > +++ b/gcc/config.gcc > @@ -5189,7 +5189,7 @@ case "${target}" in > if test x${parse_state} = x"abi-base"; then > # Base ABI type > case ${component} in > - lp64d | lp64f | lp64s) elem_tmp="ABI_BASE_$(tr a-z A-Z <<< ${component}),";; > + lp64d | lp64f | lp64s) elem_tmp="ABI_BASE_$(echo ${component} | tr a-z A-Z),";; > *) > echo "Unknown base ABI \"${component}\" in --with-multilib-list." 1>&2 > exit 1