https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org Target Milestone|--- |6.0 Summary|Weird clash with same names |[6 Regression] Weird clash |in different scopes |with same names in | |different scopes --- Comment #33 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So, with #include <math.h> template <typename> class A { struct B { long exp; }; void m_fn1(); }; template <typename Key> void A<Key>::m_fn1() { long insert_exp = 1; B q; (q->exp < insert_exp); } we now have a regression from 5 to 6, right?