[Bug c++/79457] New: Segmentation fault in templated decltype evaluation

2017-02-10 Thread teemu at hecknology dot net
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: teemu at hecknology dot net Target Milestone: --- Created attachment 40715 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40715&action=edit Minimal example GCC crashes compiling the attached source file

[Bug c++/79457] Segmentation fault in templated decltype evaluation

2017-02-10 Thread teemu at hecknology dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79457 --- Comment #1 from Teemu Piippo --- If the "S" declaration is removed and the decltype(...) moved into the return type of Foo::boo(), GCC does not crash and builds the example properly.

[Bug c++/79457] Segmentation fault in templated decltype evaluation

2017-02-10 Thread teemu at hecknology dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79457 --- Comment #2 from Teemu Piippo --- Created attachment 40716 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40716&action=edit Minimal example that does not crash