[Bug c++/77797] Unable to use constexpr function as constexpr template parameter

2016-10-02 Thread slavanap at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77797 --- Comment #4 from Vyacheslav --- Okay. Got it. Adding original error message below, so Google can lead to this bug report if that happen to someone else. prog.cc:74:125: in constexpr expansion of 'Tools::generate_array >((* GeneratorUInt64P

[Bug c++/77797] Unable to use constexpr function as constexpr template parameter

2016-09-29 Thread slavanap at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77797 --- Comment #2 from Vyacheslav --- Then why there's no such info at GCC 4.9 news page? https://gcc.gnu.org/gcc-4.9/ I would not submit the bug if I knew that the version was abandoned. Please fix.

[Bug c++/77797] New: Unable to use constexpr function as constexpr template parameter

2016-09-29 Thread slavanap at yandex dot ru
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: slavanap at yandex dot ru Target Milestone: --- Created attachment 39725 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39725&action=edit test case that represents and de