[Bug c++/49171] [C++0x][constexpr] Constant expressions support reinterpret_cast
myriachan at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Aug 23 16:41:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49171
Melissa <myriachan at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |myriachan at gmail dot com
--- Comment #12 from Melissa <myriachan at gmail dot com> ---
(In reply to Kai Tietz from comment #11)
> Fixed with delayed-folding for C++. Therefore mine.
Why fix it? The Standard doesn't allow it, but it's still useful. For
example, std::numeric_limits<float>::infinity() cannot be implemented without
it or compiler magic (e.g. __builtin_huge_valf in the current libstdc++).
Melissa
More information about the Gcc-bugs
mailing list