[Bug c/107077] New: ICE in get_expr_operands, at tree-ssa-operands.cc:940

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Wed Sep 28 17:39:38 GMT 2022


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

            Bug ID: 107077
           Summary: ICE in get_expr_operands, at tree-ssa-operands.cc:940
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started with r9 and file gcc.dg/vect/vect-cond-arith-2.c :


$ gcc-13-20220925 -c vect-cond-arith-2.c -m32 -std=c89 -fgimple
unhandled expression in get_expr_operands():
 <excess_precision_expr 0x7ff51adef5c0
    type <real_type 0x7ff51aceb498 double DF
        size <integer_cst 0x7ff51acc4dc8 constant 64>
        unit-size <integer_cst 0x7ff51acc4de0 constant 8>
        align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7ff51aceb498 precision:64
        pointer_to_this <pointer_type 0x7ff51aceba80>>

    arg:0 <real_cst 0x7ff51ae13900
        type <real_type 0x7ff51aceb540 long double XF
            size <integer_cst 0x7ff51ace7240 constant 96>
            unit-size <integer_cst 0x7ff51ace7258 constant 12>
            align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7ff51aceb540 precision:80
            pointer_to_this <pointer_type 0x7ff51acebb28>>
        constant 0.0>
    vect-cond-arith-2.c:20:25 start: vect-cond-arith-2.c:20:25 finish:
vect-cond-arith-2.c:20:27>

vect-cond-arith-2.c: In function 'neg_xi':
vect-cond-arith-2.c:36:2: internal compiler error: in get_expr_operands, at
tree-ssa-operands.cc:940
   36 |  __BB(3):
      |  ^~~~
0x10bcb61 operands_scanner::get_expr_operands(tree_node**, int)
        ../../gcc/tree-ssa-operands.cc:940
0x10bd8d5 operands_scanner::parse_ssa_operands()
        ../../gcc/tree-ssa-operands.cc:990
0x10bee21 operands_scanner::build_ssa_operands()
        ../../gcc/tree-ssa-operands.cc:1005
0x10bf650 update_stmt_operands(function*, gimple*)
        ../../gcc/tree-ssa-operands.cc:1147
0xb35df4 update_stmt_if_modified
        ../../gcc/gimple-ssa.h:185
0xb35df4 update_modified_stmts(gimple*)
        ../../gcc/gimple-iterator.cc:58
0xb35f14 gsi_insert_seq_after(gimple_stmt_iterator*, gimple*,
gsi_iterator_update)
        ../../gcc/gimple-iterator.cc:332
0x85b5bb c_parser_gimple_compound_statement
        ../../gcc/c/gimple-parser.cc:584
0x85cbf9 c_parser_parse_gimple_body(c_parser*, char*, c_declspec_il,
profile_count)
        ../../gcc/c/gimple-parser.cc:253
0x84626c c_parser_declaration_or_fndef
        ../../gcc/c/c-parser.cc:2548
0x85141f c_parser_external_declaration
        ../../gcc/c/c-parser.cc:1789
0x851d4b c_parser_translation_unit
        ../../gcc/c/c-parser.cc:1662
0x851d4b c_parse_file()
        ../../gcc/c/c-parser.cc:23694
0x8c1631 c_common_parse_file()
        ../../gcc/c-family/c-opts.cc:1255


More information about the Gcc-bugs mailing list