As detailed in Bug 47729, several long double tests FAIL on Solaris/sparcv9, ultimately because compiler-rt/lib/builtins/fp_lib.h (fromRep) or similar functions returning long double are miscompiled.
I've been using this patch as a workaround by compiling the affected functions without optimization.
Tested on sparcv9-sun-solaris2.11.
I don't seriously expect this hack to be accepted, but have several times seen that patches (however hacky) tend to attract more attention then bug reports, ultimately leading to a proper solution. Unfortunately, codegen bugs are way beyond my abilities to fix myself, so I have to rely on those who can.
clang-tidy: error: Source should be half, single, or double precision! [clang-diagnostic-error]
not useful