public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Sam James <sam@gentoo.org>
To: Yang Yujie <yangyujie@loongson.cn>
Cc: panchenghui@loongson.cn, richard.sandiford@arm.com,
	xuchenghua@loongson.cn, chenglulu@loongson.cn,
	gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] LoongArch: Fix unintentional bash-ism in r14-3665.
Date: Wed, 06 Sep 2023 12:00:29 +0100	[thread overview]
Message-ID: <87fs3rpnvw.fsf@gentoo.org> (raw)
In-Reply-To: <20230906095747.25772-1-yangyujie@loongson.cn>


Yang Yujie <yangyujie@loongson.cn> writes:

> gcc/ChangeLog:
>
> 	* config.gcc: remove non-POSIX syntax "<<<".
> ---

Thanks, I was just about to report this.

>  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


  reply	other threads:[~2023-09-06 11:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-06  9:57 Yang Yujie
2023-09-06 11:00 ` Sam James [this message]
2023-09-06 12:19 ` Richard Sandiford
2023-09-08  9:54   ` chenglulu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fs3rpnvw.fsf@gentoo.org \
    --to=sam@gentoo.org \
    --cc=chenglulu@loongson.cn \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=panchenghui@loongson.cn \
    --cc=richard.sandiford@arm.com \
    --cc=xuchenghua@loongson.cn \
    --cc=yangyujie@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).