https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110045
--- Comment #6 from Frank J. T. Wojcik <gccbugs at elkpod dot com> --- (In reply to Andrew Pinski from comment #5) > 2 things, I think your result_type in SimpleGen needs to be public. Sure, I'll change that. > Second is LLVM's libc++ outputs: > -inf -inf > inf inf I only have clang 6.0 on my system and its outputs are identical to g++'s. And I do not have access to MSVC, but I believe it also produces similar values. These data points are why I bring up the possibility that there is some detail in the specification that I'm missing. Still, the behavior I'm looking for is useful, and it does seem to be what the spec is requiring, so I would like a fix if appropriate.