https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118559
Bug ID: 118559 Summary: [15 Regression] __array_rank is broken for clang so need workaround in libstdc++ Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- clang seems to have a broken __array_rank and I have no idea when it will be fixed but we should most likely disable the use of __array_rank in libstdc++ for clang until it is known that clang is fixed. See upstream clang bug https://github.com/llvm/llvm-project/issues/123498 for more details on it.