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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I get a different ICE:
t5.c: In function ‘foo’:                                                       
                                                                               
                                                                             |
t5.c:9:1: internal compiler error: in decompose, at rtl.h:2298                 
                                                                               
                                                                             |
    9 | foo (void)      /* { dg-error "exceeds maximum" } */                   
                                                                               
                                                                             |
      | ^~~                                                                    
                                                                               
                                                                             |
0x4e82fc wi::int_traits<std::pair<rtx_def*, machine_mode> >::decompose(long*,
unsigned int, std::pair<rtx_def*, machine_mode> const&)
        ../../gcc/rtl.h:2298
0x4e82fc wide_int_ref_storage<false,
true>::wide_int_ref_storage<std::pair<rtx_def*, machine_mode>
>(std::pair<rtx_def*, machine_mode> const&)
        ../../gcc/wide-int.h:1089
0x4e82fc generic_wide_int<wide_int_ref_storage<false, true>
>::generic_wide_int<std::pair<rtx_def*, machine_mode> >(std::pair<rtx_def*,
machine_mode> const&)
        ../../gcc/wide-int.h:847
0x4e82fc simplify_const_unary_operation(rtx_code, machine_mode, rtx_def*,
machine_mode)
        ../../gcc/simplify-rtx.cc:1991
0xd46d92 simplify_context::simplify_unary_operation(rtx_code, machine_mode,
rtx_def*, machine_mode)
        ../../gcc/simplify-rtx.cc:889
0x90aea8 simplify_unary_operation(rtx_code, machine_mode, rtx_def*,
machine_mode)
        ../../gcc/rtl.h:3486
0x90aea8 convert_memory_address_addr_space_1(scalar_int_mode, rtx_def*,
unsigned char, bool, bool)
        ../../gcc/explow.cc:330
0x90b0c9 convert_memory_address_addr_space_1(scalar_int_mode, rtx_def*,
unsigned char, bool, bool)
        ../../gcc/explow.cc:375
0x90b1b9 convert_memory_address_addr_space(scalar_int_mode, rtx_def*, unsigned
char)
        ../../gcc/explow.cc:429
0x90b1b9 memory_address_addr_space(machine_mode, rtx_def*, unsigned char)
        ../../gcc/explow.cc:443
0x930da4 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ../../gcc/expr.cc:11720
0x94148a expand_expr(tree_node*, rtx_def*, machine_mode, expand_modifier)
        ../../gcc/expr.h:316
0x94148a expand_assignment(tree_node*, tree_node*, bool)
        ../../gcc/expr.cc:6397
0x7fab67 expand_gimple_stmt_1
        ../../gcc/cfgexpand.cc:3992
0x7fab67 expand_gimple_stmt
        ../../gcc/cfgexpand.cc:4071
0x7ffc40 expand_gimple_basic_block
        ../../gcc/cfgexpand.cc:6127
0x801d06 execute
        ../../gcc/cfgexpand.cc:6866

Reply via email to