[Bug c++/39906] Accepted invalid member template specialization in derived class

2024-10-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39906 --- Comment #5 from Andrew Pinski --- (In reply to Thiago Macieira from comment #4) > (In reply to Martin Sebor from comment #2) > > Reconfirming that GCC 10 still accepts it. The code does look invalid but > > no compiler I tried rejects the co

[Bug c++/39906] Accepted invalid member template specialization in derived class

2024-10-09 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39906 Thiago Macieira changed: What|Removed |Added CC||thiago at kde dot org --- Comment #4 f

[Bug c++/39906] Accepted invalid member template specialization in derived class

2021-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39906 --- Comment #3 from Andrew Pinski --- Even more shocking this works on all compilers: int t1; Derived::Kind::type &t = t1; Base::Kind::type &t2 = t1;

[Bug c++/39906] Accepted invalid member template specialization in derived class

2020-02-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39906 Martin Sebor changed: What|Removed |Added Last reconfirmed|2009-04-26 16:52:02 |2020-2-24 CC|

[Bug c++/39906] Accepted invalid member template specialization in derived class

2009-04-26 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-04-26 16:52 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON