[Bug c++/111776] ICE on delete expression with multiple viable destroying operator delete

2023-11-15 Thread leni536 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111776 --- Comment #3 from Lénárd Szolnoki --- The C++ standard currently doesn't specify what the behavior of these program snippets are. This is CWG2805. https://cplusplus.github.io/CWG/issues/2805.html

[Bug c++/111776] ICE on delete expression with multiple viable destroying operator delete

2023-10-13 Thread leni536 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111776 --- Comment #2 from Lénárd Szolnoki --- Same ICE without destroying delete: ``` struct A { void operator delete(void *); }; struct B { void operator delete(void *); }; struct C : A, B { using A::operator delete; using B::opera

[Bug c++/111776] ICE on delete expression with multiple viable destroying operator delete

2023-10-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111776 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Last reco