[PATCH v1 0/1] AArch64: Relax regexps in tests to let them pass with -fweb

Christopher Bazley via Sourceware Forge <[email protected]>
Newsgroups gmane.comp.gcc.patches
Message-ID <bmm.hkvqe49uww.gcc.gcc.chris.bazley.209.1.0@forge-stage.sourceware.org>
Hi gcc-patches mailing list,
Christopher Bazley via Sourceware Forge <[email protected]> has requested that the following forgejo pull request
be published on the mailing list.

Created on: 2026-07-30 16:16:38+00:00
Latest update: 2026-07-30 16:16:38+00:00
Changes: 3 changed files, 12 additions, 12 deletions
Head revision: chris.bazley/gcc ref relax-aarch64-tests commit 03eaae9336bbc7338ae36446aacecd0d116b41c5
Base revision: gcc/gcc ref trunk commit ece564fdaa15a0da008cedd881afcd3f0f4dbd5a r17-2824-gece564fdaa15a0
Merge base: ece564fdaa15a0da008cedd881afcd3f0f4dbd5a
Full diff url: https://forge.sourceware.org/gcc/gcc/pulls/209.diff
Discussion:  https://forge.sourceware.org/gcc/gcc/pulls/209
Requested Reviewers:

The -fweb option changes the way that GCC allocates
registers.  -fweb is not enabled by default, so we
have never previously noticed that some AArch64 tests
have unreasonably strict expectations about register
allocation.  This patch relaxes those expectations.

gcc/testsuite/ChangeLog:

        * gcc.target/aarch64/ffs.c: Relax test expectations.
        * gcc.target/aarch64/frecpe_1.c: As above.
        * gcc.target/aarch64/frecpe_2.c: As above.

Thanks for taking the time to contribute to GCC!

Please be advised that https://forge.sourceware.org/ is currently a trial
that is being used by the GCC community to experiment with a new workflow
based on pull requests.

Pull requests sent here may be forgotten or ignored. Patches that you want to
propose for inclusion in GCC should use the existing email-based workflow,
see https://gcc.gnu.org/contribute.html


Changed files:
- M: gcc/testsuite/gcc.target/aarch64/ffs.c
- M: gcc/testsuite/gcc.target/aarch64/frecpe_1.c
- M: gcc/testsuite/gcc.target/aarch64/frecpe_2.c


Christopher Bazley (1):
  AArch64: Relax regexps in tests to let them pass with -fweb

 gcc/testsuite/gcc.target/aarch64/ffs.c      | 20 ++++++++++----------
 gcc/testsuite/gcc.target/aarch64/frecpe_1.c |  2 +-
 gcc/testsuite/gcc.target/aarch64/frecpe_2.c |  2 +-
 3 files changed, 12 insertions(+), 12 deletions(-)

-- 
2.54.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.