This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/43374] ICE with __builtin_isinf() and _Decimal argument


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43374

Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gerhard.steinmetz.fortran@t
                   |                            |-online.de

--- Comment #5 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
Update :


$ gcc-7-20170205 -c pr43374.c
pr43374.c: In function 'func':
pr43374.c:4:10: internal compiler error: in decimal_to_decnumber, at dfp.c:134
   return __builtin_isinf(v);
          ^~~~~~~~~~~~~~~~~~
0x12b9f38 decimal_to_decnumber
        ../../gcc/dfp.c:134
0x12ba0bf encode_decimal32(real_format const*, long*, real_value const*)
        ../../gcc/dfp.c:161
0xb51d15 real_to_target(long*, real_value const*, format_helper)
        ../../gcc/real.c:2835
0xbc73bc simplify_immed_subreg
        ../../gcc/simplify-rtx.c:5824
0xbd3578 simplify_gen_subreg(machine_mode, rtx_def*, machine_mode, unsigned
int)
        ../../gcc/simplify-rtx.c:6260
0x8ba3b5 emit_move_via_integer
        ../../gcc/expr.c:3301
0x8c7198 emit_move_insn_1(rtx_def*, rtx_def*)
        ../../gcc/expr.c:3652
0x8c7494 emit_move_insn(rtx_def*, rtx_def*)
        ../../gcc/expr.c:3738
0x7a1434 emit_library_call_value_1
        ../../gcc/calls.c:4895
0x7a82af emit_library_call_value(rtx_def*, rtx_def*, libcall_type,
machine_mode, int, ...)
        ../../gcc/calls.c:5159
0xaf5ab6 prepare_float_lib_cmp
        ../../gcc/optabs.c:4172
0xaf5ab6 prepare_cmp_insn
        ../../gcc/optabs.c:3945
0xaf5bf5 emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code, rtx_def*,
machine_mode, int, rtx_def*, int)
        ../../gcc/optabs.c:4051
0x8314cc do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int,
machine_mode, rtx_def*, rtx_code_label*, rtx_code_label*, int)
        ../../gcc/dojump.c:1145
0x8319e7 do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int,
machine_mode, rtx_def*, rtx_code_label*, rtx_code_label*, int)
        ../../gcc/dojump.c:1140
0x8b6314 emit_store_flag_force(rtx_def*, rtx_code, rtx_def*, rtx_def*,
machine_mode, int, int)
        ../../gcc/expmed.c:5936
0x8d7cde do_store_flag
        ../../gcc/expr.c:11453
0x8d7cde expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        ../../gcc/expr.c:9203
0x7b6382 expand_gimple_stmt_1
        ../../gcc/cfgexpand.c:3676
0x7b6382 expand_gimple_stmt
        ../../gcc/cfgexpand.c:3737

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]