https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83144
Bug ID: 83144 Summary: ICE using trailing return type and constexpr with GCC 7.X Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: joel.falcou at lri dot fr Target Milestone: --- Created attachment 42709 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42709&action=edit ICE using trailing return type and constexpr with GCC 7.X ICE using trailing return type and constexpr with GCC 7.X This is easily worked-around but clang and g++ 5.4 compile it without issues.