[PATCH] D154782: [NFC] Fix builds on recent GCC with C++20 enabled

Alexander Batashev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 9 01:58:34 PDT 2023


alexbatashev added a comment.

A brief note for reviewers. This appears to be a bug in either Clang or GCC. Briefly looking at recent C++ defect reports, I couldn't find anything like this. So, I lean towards a bug in GCC 12 and 13 (I didn't check other versions). But if someone knows what the rootcause is, please, let me know.
A link to Compiler Explorer with the reproducer to play around: https://godbolt.org/z/1fKqdfnrM


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154782/new/

https://reviews.llvm.org/D154782



More information about the llvm-commits mailing list