Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: kingoipo at gmail dot com
Target Milestone: ---
In trying to implement p0980r1, I encountered the following error when calling
the constexpr basic_string(const _Alloc& __a) constru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93989
--- Comment #2 from Michael de Lang ---
Created attachment 47943
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47943&action=edit
save-temps copy_assign_constexpr.ii
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93989
--- Comment #5 from Michael de Lang ---
Created attachment 47953
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47953&action=edit
self-contained minimal test case
I managed to reduce the test case to a single file, which also produces the
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: kingoipo at gmail dot com
Target Milestone: ---
Created attachment 46691
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91405
--- Comment #1 from Michael de Lang ---
Correction, the reported line number for 7.4.0 is cp.parser.c:38874
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100655
--- Comment #1 from Michael de Lang ---
It'd be fairly trivial to wrap the test in an ifdef:
#ifdef __GLIBC__
#if (__GLIBC__ >= 2 && __GLIBC_MINOR__>= 30) || __GLIBC__>= 3
// test here
#endif
#endif
++
Assignee: unassigned at gcc dot gnu.org
Reporter: kingoipo at gmail dot com
Target Milestone: ---
Compiling the following program:
#include
int main() {
std::regex _r{"\\/some\\/http\\/(\\d{1,2})\\/(\\d{1,2})\\/(\\d{1,2})\\/test",
std::regex::ECMAScript};
return