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

            Bug ID: 118815
           Summary: [15 Regression] Getting `Vector size conflicts between
                    AVX10.1 and AVX512, using 512 as max vector size`
                    warning with -Wsystem-headers
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---
            Target: x86_64

```
#include <immintrin.h>
```

With -Wsystem-headers -std=c17 gives notices:
```
In file included from
/opt/compiler-explorer/gcc-trunk-20250209/lib/gcc/x86_64-linux-gnu/15.0.1/include/immintrin.h:151:
/opt/compiler-explorer/gcc-trunk-20250209/lib/gcc/x86_64-linux-gnu/15.0.1/include/avx10_2mediaintrin.h:113:1:
warning: Vector size conflicts between AVX10.1 and AVX512, using 512 as max
vector size
  113 | {
      | ^
```

Reply via email to