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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-08-15
                 CC|                            |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, UBSAN says:

$ ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/pr48616.c -c -c
../../gcc/config/rs6000/rs6000.c:5566:13: runtime error: shift exponent 64 is
too large for 64-bit type 'long int'
    #0 0x29e7953 in num_insns_constant_multi
../../gcc/config/rs6000/rs6000.c:5566
    #1 0x29e908e in num_insns_constant(rtx_def*, machine_mode)
../../gcc/config/rs6000/rs6000.c:5654
    #2 0x2a0de5d in rs6000_emit_move(rtx_def*, rtx_def*, machine_mode)
../../gcc/config/rs6000/rs6000.c:9712
    #3 0x310242a in gen_movdi(rtx_def*, rtx_def*)
../../gcc/config/rs6000/rs6000.md:7135
    #4 0x118f287 in insn_gen_fn::operator()(rtx_def*, rtx_def*) const
../../gcc/recog.h:318
    #5 0x11399b8 in emit_move_insn_1(rtx_def*, rtx_def*) ../../gcc/expr.c:3695
    #6 0x113abf0 in emit_move_insn(rtx_def*, rtx_def*) ../../gcc/expr.c:3791
    #7 0x1116251 in convert_move(rtx_def*, rtx_def*, int) ../../gcc/expr.c:246
    #8 0x114982d in store_expr(tree_node*, rtx_def*, int, bool, bool)
../../gcc/expr.c:5615
    #9 0x1146fc8 in expand_assignment(tree_node*, tree_node*, bool)
../../gcc/expr.c:5441
    #10 0xcec66c in expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3777
    #11 0xcece92 in expand_gimple_stmt ../../gcc/cfgexpand.c:3875
    #12 0xd0061e in expand_gimple_basic_block ../../gcc/cfgexpand.c:5915
    #13 0xd05228 in execute ../../gcc/cfgexpand.c:6538
    #14 0x1ad73cb in execute_one_pass(opt_pass*) ../../gcc/passes.c:2494
    #15 0x1ad7c63 in execute_pass_list_1 ../../gcc/passes.c:2580
    #16 0x1ad7db7 in execute_pass_list(function*, opt_pass*)
../../gcc/passes.c:2591
    #17 0xdfa021 in cgraph_node::expand() ../../gcc/cgraphunit.c:2194
    #18 0xdfc6b2 in output_in_order ../../gcc/cgraphunit.c:2438
    #19 0xdfdd01 in symbol_table::compile() ../../gcc/cgraphunit.c:2685
    #20 0xdfe78c in symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2868
    #21 0x1ed4dac in compile_file ../../gcc/toplev.c:481
    #22 0x1edc9ae in do_compile ../../gcc/toplev.c:2190
    #23 0x1edcfdd in toplev::main(int, char**) ../../gcc/toplev.c:2325
    #24 0x3bf5469 in main ../../gcc/main.c:39
    #25 0x7fac4289fbca in __libc_start_main ../csu/libc-start.c:308
    #26 0x832969 in _start
(/home/marxin/Programming/gcc2/objdir/gcc/cc1+0x832969)

Reply via email to