From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2DCD838555B2; Thu, 18 May 2023 14:24:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2DCD838555B2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684419866; bh=dDiH36B6w5aVJUlNoNjGqOg0uhtRJESN/0fo7TyMj0w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=v0psXRJlLO815w+uest6QcnZQD46q3GtAHOtn6Ey7yX4SmhMUzF0E624Q+hi26hTf 9nfEMvC7JLdO35gx/7gFdm/xWLbqrOuJixJOk/yooqN8pp3M3AGJjR7G0Gkdaga0c5 wmyq0zUpY2KVt2oD+z+E4pFJQQ/jSA/Uzo0gGegM= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/105831] Nonportable syntax in "test" and "[" commands. Date: Thu, 18 May 2023 14:24:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 12.1.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105831 --- Comment #9 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:120e444974e12eb727eea170a3bfd80783e3851f commit r14-970-g120e444974e12eb727eea170a3bfd80783e3851f Author: Jonathan Wakely Date: Thu May 18 10:18:19 2023 +0100 contrib: Fix nonportable shell syntax in "test" and "[" commands [PR105= 831] POSIX sh does not support the =3D=3D for string comparisons, use =3D in= stead. These contrib scripts all use a bash shebang so =3D=3D does work, but there's no reason they can't just use the more portable form anyway. PR bootstrap/105831 contrib/ChangeLog: * bench-stringop: Use =3D operator instead of =3D=3D. * repro_fail: Likewise. contrib/reghunt/ChangeLog: * bin/reg-hunt: Use =3D operator instead of =3D=3D.=