[Bug c++/101911] New: Type cannot be defined inside of the lambda in unevaluated context

2021-08-14 Thread eligorkadaf at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101911 Bug ID: 101911 Summary: Type cannot be defined inside of the lambda in unevaluated context Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/101288] Invalid instantiated redeclaration considered valid by gcc

2021-07-04 Thread eligorkadaf at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101288 --- Comment #1 from Eligor Kadaf --- Compiler shall provide diagnostics in the current example according to https://eel.is/c++draft/basic.def.odr#15

[Bug c++/101287] Implicit template specialization redefines member function but compiles

2021-07-04 Thread eligorkadaf at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101287 Eligor Kadaf changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/101287] Implicit template specialization redefines member function but compiles

2021-07-04 Thread eligorkadaf at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101287 --- Comment #3 from Eligor Kadaf --- I had found this example during the investigation of one another exmaple from real life, which was the bug in clang, and as fas as it is marked as error in standard I had decided it must be compile time error

[Bug c++/101288] New: Invalid instantiated redeclaration considered valid by gcc

2021-07-01 Thread eligorkadaf at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101288 Bug ID: 101288 Summary: Invalid instantiated redeclaration considered valid by gcc Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/101287] Implicit template specialization redefines member function but compiles

2021-07-01 Thread eligorkadaf at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101287 --- Comment #2 from Eligor Kadaf --- Agree, and the link was incorrect, so there is a correct one: https://godbolt.org/z/zEz8c7abM

[Bug c++/101287] New: Implicite template specialization redefines member function but compiles

2021-07-01 Thread eligorkadaf at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101287 Bug ID: 101287 Summary: Implicite template specialization redefines member function but compiles Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: norma

[Bug c++/100862] New: using enum member access fail

2021-06-01 Thread eligorkadaf at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100862 Bug ID: 100862 Summary: using enum member access fail Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ As

[Bug c++/97230] Invocation of non-static member function on a null instance in core constant expression should not be allowed

2020-09-28 Thread eligorkadaf at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97230 --- Comment #1 from Eligor Kadaf --- Basically it described in 7th paragraph in [expr.const] of the latest C++ standard draft: https://eel.is/c++draft/expr.const#5

[Bug c++/97230] New: Invocation of non-static member function on a null instance in core constant expression should not be allowed

2020-09-28 Thread eligorkadaf at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97230 Bug ID: 97230 Summary: Invocation of non-static member function on a null instance in core constant expression should not be allowed Product: gcc Version: 10.0