https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80387
Bug ID: 80387 Summary: G++ get stuck due to decltype over constexpr static function in using declaration Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bastien.penavayre at epitech dot eu Target Milestone: --- Created attachment 41170 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41170&action=edit source file template using assigned with decltype of constexpr static method "func" cause g++ to hang with one thread running at 100% non-stop. Tested first with g++7.0.1 20170410 and confirmed to be the same with g++-6.0.1. On older version of g++ the method "func" is not recognized.