https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67309
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2015-08-21
Component|c++ |libstdc++
Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Thanks for the nice testcase. There are a few such constants in the library,
and we *really* do want them to be double precision because we are passing them
to std::min<double> or std::max<double>, so they're meant to be doubles and so
-fsingle-precision-constant buys you nothing here. I suppose we can add an
explicit template argument list to the calls to force promotion to double.