[Bug c++/102470] C++20 NTTP causes ICE

2021-09-23 Thread iDingDong at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102470 --- Comment #1 from Kun Ge --- I misplaced the wrong piece of codes. the code that actually triggered the error is: //--- #include #include struct MemAttr { std::size_t size; std::size_t align; }; template constexpr

[Bug c++/102470] New: C++20 NTTP causes ICE

2021-09-23 Thread iDingDong at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102470 Bug ID: 102470 Summary: C++20 NTTP causes ICE Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug c++/100698] New: Error when initializing a struct member of type char[N] with short string literal

2021-05-20 Thread iDingDong at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100698 Bug ID: 100698 Summary: Error when initializing a struct member of type char[N] with short string literal Product: gcc Version: 11.1.0 Status: UNCONFIRMED

[Bug c++/98614] New: Copy ctor/assign cannot be defaulted in specialization by concept

2021-01-09 Thread iDingDong at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98614 Bug ID: 98614 Summary: Copy ctor/assign cannot be defaulted in specialization by concept Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal