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

            Bug ID: 114479
           Summary: std::is_array_v<int[0]> changed from false to true in
                    GCC 14
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nikolasklauser at berlin dot de
  Target Milestone: ---

```
#include <type_traits>

static_assert(!std::is_array_v<int[0]>);
```
works with GCC 13, but GCC 14 fails to compile. This is most likely caused by
the use of the new `__is_array` builtin. It probably has the same bug as Clang
(https://github.com/llvm/llvm-project/issues/54705).

Reply via email to