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

            Bug ID: 115894
           Summary: [15 regression] gcc.target/arm/pr111235.c test failure
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jskumari at gcc dot gnu.org
  Target Milestone: ---

The test fails with r15-1619-g3b9b8d6cfdf593.

gcc.target/arm/pr111235.c: ldrexd\tr[0-9]+, r[0-9]+, \\[r[0-9]+\\] found 1
times
FAIL: gcc.target/arm/pr111235.c scan-assembler-times ldrexd\tr[0-9]+, r[0-9]+,
\\[r[0-9]+\\] 2

The test fails due to different registers used in ldrexd instruction. The key
part of this test is that the compiler generates LDREXD. The 
registers used for that are pretty much irrelevant as they are not matched with
any other operations within the test.

As per the discussion at
https://gcc.gnu.org/pipermail/gcc/2023-November/242823.html and
https://gcc.gnu.org/pipermail/gcc/2023-November/242924.html the testcase can be
modified to avoid the failure.

Reply via email to