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

            Bug ID: 115493
           Summary: gcc.c-torture/execute/pr94734.c fails on MVE after
                    gcc-15-1054-g202a9c8fe7d
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
  Target Milestone: ---

Created attachment 58428
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58428&action=edit
Code generated before the offending GCC commit (works)

As reported in https://linaro.atlassian.net/browse/GNU-1255, we are seeing

FAIL: gcc.c-torture/execute/pr94734.c -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gcc.c-torture/execute/pr94734.c -O3 -g  execution test

after g:202a9c8fe7d
with GCC configured with:
--disable-multilib --with-mode=thumb --with-arch=armv8.1-m.main+mve.fp+fp.dp
--with-float=hard --target=arm-eabi

and the testsuite executed with:
qemu/-mthumb/-march=armv8.1-m.main+mve.fp+fp.dp/-mtune=cortex-m55/-mfloat-abi=hard/-mfpu=auto

I'm attaching the annotated generated asm, the offending code is when calling
  if (baz (25, 4, 7) != 22)

Maybe it's a problem with how we model predicates for MVE.

Reply via email to