https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91548
--- Comment #5 from Hannes Hauswedell <h2+bugs at fsfe dot org> --- (In reply to Marek Polacek from comment #4) > (In reply to Hannes Hauswedell from comment #2) > > Any news on this issue? We are using this pattern in some rather central > > files in our library and the bug literally breaks 90% of our unit tests so > > we can't keep track of other gcc10 issues or try the new concepts support... > > > > Thank you for your help! > > BTW, is the library publicly accessible? If it is, I could try to compile > it when I have a fix for this to make sure it's resolved. Sure, thanks for looking into this! The library is available here: https://github.com/seqan/seqan3/ Instructions for setting up unit tests are available here: https://docs.seqan.de/seqan/3-master-user/setup_tests.html The currently failing tests are visible here: http://cdash.seqan.de/index.php?project=SeqAn3 Under "Nightly: unit", "FreeBSD unit Debug g++10 -std=c++2a" Note that due to the recent arrival of C++20 concepts in gcc-trunk, other things are currently broken with so you need to explicitly provide "-std=c++17 -fconcepts" (and not trust the auto detection of our cmake config). Making e.g. "view_to_lower_test" should trigger the problem from this PR (although I just saw that it also has a seemingly unrelated problem with not finding std::span, just ignore that).