[Bug c/93683] New: [10 Regression] ICE in ao_ref_init_from_ptr_and_size, at tree-ssa-alias.c:714

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Tue Feb 11 19:24:00 GMT 2020


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

            Bug ID: 93683
           Summary: [10 Regression] ICE in ao_ref_init_from_ptr_and_size,
                    at tree-ssa-alias.c:714
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Changed between 20190623 and 20190630 :


$ cat z1.c
void f (int *a)
{
  *a = 0;
  __builtin_calloc(1, 1);
}


$ gcc-10-20200209 -c z1.c -O2
z1.c: In function 'f':
z1.c:4:3: warning: ignoring return value of '__builtin_calloc' declared with
attribute 'warn_unused_result' [-Wunused-result]
    4 |   __builtin_calloc(1, 1);
      |   ^~~~~~~~~~~~~~~~~~~~~~
during GIMPLE pass: dse
z1.c:5:1: internal compiler error: Segmentation fault
    5 | }
      | ^
0xb0531f crash_signal
        ../../gcc/toplev.c:328
0xbd1f5a ao_ref_init_from_ptr_and_size(ao_ref*, tree_node*, tree_node*)
        ../../gcc/tree-ssa-alias.c:714
0xbd6d91 stmt_kills_ref_p(gimple*, ao_ref*)
        ../../gcc/tree-ssa-alias.c:3280
0xbf50ca dse_classify_store(ao_ref*, gimple*, bool, simple_bitmap_def*, bool*,
tree_node*)
        ../../gcc/tree-ssa-dse.c:857
0xbf6685 dse_dom_walker::dse_optimize_stmt(gimple_stmt_iterator*)
        ../../gcc/tree-ssa-dse.c:1102
0xbf6ce8 dse_dom_walker::before_dom_children(basic_block_def*)
        ../../gcc/tree-ssa-dse.c:1134
0x12c7bd4 dom_walker::walk(basic_block_def*)
        ../../gcc/domwalk.c:309
0xbf4643 execute
        ../../gcc/tree-ssa-dse.c:1188


More information about the Gcc-bugs mailing list