[libcxx-commits] [PATCH] D108250: [libc++][spaceship] Implement std::tuple::operator<=>

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 24 10:46:31 PDT 2021


Mordante added inline comments.


================
Comment at: libcxx/test/std/library/description/conventions/expos.only.func/synth_three_way.pass.cpp:1
+//===----------------------------------------------------------------------===//
+//
----------------
mumbleskates wrote:
> 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.
Alternatively you add a `UNSUPPORTED: gcc-11`. Then it would be nice if you file a bug report for GCC and add a comment with the bug number.


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