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

            Bug ID: 123775
           Summary: c-c++-common/torture/vector-compare-1.c ICEs with -O3
                    -march=armv9-a+sve2 -msve-vector-bits=128 --param
                    aarch64-autovec-preference=sve-only
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---
            Target: aarch64

Created attachment 63461
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63461&action=edit
preprocessed testcase

```
during GIMPLE pass: isel
<source>: In function 'main':
<source>:3:5: internal compiler error: in gimple_expand_vec_cond_expr, at
gimple-isel.cc:306
    3 | int main(int argc, char *argv[]) {
      |     ^~~~
```

This ICEs with GCC 15.1.0 too.

GCC 14 also ICEs with the fixed up `--param aarch64-autovec-preference=2`.

So I don't think this is a regression.

Reply via email to