With -fsingle-precision-constant std::max(1.0, some_double) can't deduce the template argument, so make it explicit. Tested powerpc64le-linux, committed to trunk.