This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/72076] cmath: illegal instruction (constexpr)
- From: "t.hirsch at web dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 09 Aug 2016 21:27:30 +0000
- Subject: [Bug middle-end/72076] cmath: illegal instruction (constexpr)
- Auto-submitted: auto-generated
- References: <bug-72076-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72076
--- Comment #6 from Thorsten Hirsch <t.hirsch at web dot de> ---
One by one. :)
I mean this snippet:
template<typename _Tp>
constexpr
typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,
int>::__type
ilogb(_Tp __x)
{ return __builtin_ilogb(__x); }
Is this valid? Or should there be an "int" or "float" after the "constexpr"
in line 2?