[Bug c++/69323] [4.9/5/6 Regression] Segmentation fault when instantiating class template with inner class which declares itself as a friend

2016-01-16 Thread bd at jollyrogerlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69323 --- Comment #4 from Brian Davis --- Created attachment 37381 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37381&action=edit Preprocessed file generated by g++ 4.9.2 on the same source file Here's the preprocessed file used on 4.9.2; the

[Bug c++/69323] [4.9/5/6 Regression] Segmentation fault when instantiating class template with inner class which declares itself as a friend

2016-01-16 Thread bd at jollyrogerlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69323 --- Comment #3 from Brian Davis --- I just ran downstairs and used this to break g++ 4.9.2 running on Ubuntu 15.04 as well, using my original source file. Here's the compiler version string, and I'll attach the preprocessed file: $ g++ --versio

[Bug c++/69323] Segmentation fault when instantiating class template with inner class which declares itself as a friend

2016-01-16 Thread bd at jollyrogerlabs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69323 --- Comment #1 from Brian Davis --- Created attachment 37380 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37380&action=edit Original source file Please note line 7 of this file: #define SHOW_GCC_BUG 1 If this line is commented out, the

[Bug c++/69323] New: Segmentation fault when instantiating class template with inner class which declares itself as a friend

2016-01-16 Thread bd at jollyrogerlabs dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bd at jollyrogerlabs dot com Target Milestone: --- Created attachment 37379 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37379&acti