https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105831

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:6e2fbe4f345f48ae3c8ba5bfbc1a7b783b398614

commit r14-969-g6e2fbe4f345f48ae3c8ba5bfbc1a7b783b398614
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Thu May 18 10:18:19 2023 +0100

    gcc: Fix nonportable shell syntax in "test" and "[" commands [PR105831]

    POSIX sh does not support the == for string comparisons, use = instead.

    The gen_directive_tests script uses a bash shebang so == does work, but
    there's no reason this script can't just use the more portable form
    anyway.

            PR bootstrap/105831

    gcc/ChangeLog:

            * config.gcc: Use = operator instead of ==.

    gcc/testsuite/ChangeLog:

            * gcc.test-framework/gen_directive_tests: Use = operator instead
            of ==.

Reply via email to