[Bug target/43610] [4.5 Regression] ICE: in prepare_float_lib_cmp, at optabs.c:4392 with -fno-trapping-math and _Decimal64 comparison

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Apr 1 13:48:00 GMT 2010



------- Comment #1 from rguenth at gcc dot gnu dot org  2010-04-01 13:48 -------
Because we only have an optab for LT (reversed UNGE), but
FLOAT_LIB_COMPARE_RETURNS_BOOL is false.

Without -fno-trapping-math we use LT from the start which works.

I suppose FLOAT_LIB_COMPARE_RETURNS_BOOL should return true for decimal
float modes on x86?


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-04-01 13:48:17
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43610



More information about the Gcc-bugs mailing list