Patch 1 fixes the target builtin mentioned in PR 92449 comment 1, where the user code asks us to generate code for unordered although we are compiling without NaNs. This fixes it by simple hardcoding the result for that case.
Patch 2 adds a testcase for this, and one for the tree-complex part that Jakub fixed earlier. Tested on powerpc64-linux {-m32,-m64}. Cmmitting to trunk. Segher gcc/config/rs6000/vsx.md | 12 ++++++++++++ gcc/testsuite/gcc.c-torture/compile/pr92449.c | 7 +++++++ gcc/testsuite/gcc.target/powerpc/pr92449-1.c | 7 +++++++ 3 files changed, 26 insertions(+) create mode 100644 gcc/testsuite/gcc.c-torture/compile/pr92449.c create mode 100644 gcc/testsuite/gcc.target/powerpc/pr92449-1.c -- 1.8.3.1