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

            Bug ID: 123548
           Summary: __pldx builtin causes ICE at O0
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: alfierichards at gcc dot gnu.org
  Target Milestone: ---

There is a bug in the handling of constant arguments that means the __pldx
intrinsics (when used correctly) cause an ICE at O0.

For example:

```c
#include <arm_acle.h>

void
test (void *a)
{
  __pldx (1, 1, 1, a);
}
```
Errors at O0, but is fine at O1+

https://godbolt.org/z/znnqaMrMx

Reply via email to