[Bug c++/109576] access checking done on constexpr even if the access was done in the class itself when used inside a template

2023-04-20 Thread ts826848 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109576 --- Comment #4 from Alex Wang --- Just realized my previous searches were only searching the summary. Is this bug a duplicate of either https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96716 and/or https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97740

[Bug c++/109576] New: Incorrect rejection of constexpr local var due to private member even with visible conversion operator

2023-04-20 Thread ts826848 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109576 Bug ID: 109576 Summary: Incorrect rejection of constexpr local var due to private member even with visible conversion operator Product: gcc Version: 12.2.0 Status: UNCON