[Bug libstdc++/103294] constexpr std::string does not work for clang

2021-11-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103294 --- Comment #3 from cqwrteur --- (In reply to Andrew Pinski from comment #1) > GCC complains with -std=c++2b: > : In function 'constexpr bool foo()': > :7:33: error: call to non-'constexpr' function > 'std::__cxx11::basic_string<_CharT, _Traits,

[Bug libstdc++/103294] constexpr std::string does not work for clang

2021-11-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103294 cqwrteur changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/103294] constexpr std::string does not work for clang

2021-11-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103294 --- Comment #1 from Andrew Pinski --- GCC complains with -std=c++2b: : In function 'constexpr bool foo()': :7:33: error: call to non-'constexpr' function 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Al