Command line: gcc -fno-trapping-math testcase.c ------ testcase.c ------ int foo(_Decimal64 x[2]) { return !(x[0] < x[1]); } ------------------------
Tested revisions: r157877 - crash r153685 - crash 4.4 r157895 - OK Compiler output: $ /mnt/svn/gcc-trunk/binary-157877-lto/bin/gcc -fno-trapping-math testcase.c testcase.c: In function 'foo': testcase.c:3:3: internal compiler error: in prepare_float_lib_cmp, at optabs.c:4392 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: [4.5 Regression] ICE: in prepare_float_lib_cmp, at optabs.c:4392 with -fno-trapping-math and _Decimal64 comparison Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43610