https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69323
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2016-01-17 Target Milestone|--- |4.9.4 Summary|Segmentation fault when |[4.9/5/6 Regression] |instantiating class |Segmentation fault when |template with inner class |instantiating class |which declares itself as a |template with inner class |friend |which declares itself as a | |friend Ever confirmed|0 |1 Known to fail| |4.7.0, 6.0 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced testcase: template<int VALUE> struct Outer { struct StupidValueTrick { template<int VAL> friend struct Outer::StupidValueTrick; }; }; typedef Outer<42>::StupidValueTrick GoodValue; GoodValue good; ---CUT --- Confirmed.