[libcxx-commits] [PATCH] D108250: [libc++][spaceship] Implement std::tuple::operator<=>
Kent Ross via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Sep 24 01:17:43 PDT 2021
mumbleskates added inline comments.
================
Comment at: libcxx/test/std/library/description/conventions/expos.only.func/synth_three_way.pass.cpp:1
+//===----------------------------------------------------------------------===//
+//
----------------
mumbleskates wrote:
> Well, this file reproducibly causes g++-11 to segfault at compile time. fantastic
The following minimal file causes g++-11 to segfault:
```
#include <tuple>
int main(int, char**) {
auto t = std::tuple(1);
return 0;
}
```
...basically it seems that g++-11 segfaults any time you try to do class template deduction with std::tuple at all.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108250/new/
https://reviews.llvm.org/D108250
More information about the libcxx-commits
mailing list