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

            Bug ID: 80113
           Summary: [6/7 Regression] ICE in set_var_live_on_entry at
                    tree-ssa-live.c:1018
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: gcc-bugzilla at gcc dot gnu.org
  Target Milestone: ---

Starting from r230200, there's valgrind error:

$ valgrind --leak-check=yes --trace-children=yes gcc
/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/graphite/pr42914.c
-fgraphite-identity -Ofast -fno-tree-coalesce-vars

==4715== Invalid read of size 8
==4715==    at 0x77F17F: bitmap_find_bit (bitmap.c:506)
==4715==    by 0x77F17F: bitmap_set_bit(bitmap_head*, int) (bitmap.c:600)
==4715==    by 0xD44E82: set_var_live_on_entry (tree-ssa-live.c:1018)
==4715==    by 0xD44E82: calculate_live_ranges(_var_map*, bool)
(tree-ssa-live.c:1136)
==4715==    by 0xD22AEF: coalesce_ssa_name() (tree-ssa-coalesce.c:1862)
==4715==    by 0xCB3103: remove_ssa_form (tree-outof-ssa.c:948)
==4715==    by 0xCB3103: rewrite_out_of_ssa(ssaexpand*) (tree-outof-ssa.c:1172)
==4715==    by 0x7C7F80: (anonymous namespace)::pass_expand::execute(function*)
(cfgexpand.c:6164)
==4715==    by 0xB27D7D: execute_one_pass(opt_pass*) (passes.c:2465)
==4715==    by 0xB28647: execute_pass_list_1(opt_pass*) (passes.c:2554)
==4715==    by 0xB286A4: execute_pass_list(function*, opt_pass*)
(passes.c:2565)
==4715==    by 0x7FBC8D: cgraph_node::expand() (cgraphunit.c:2038)
==4715==    by 0x7FD63F: expand_all_functions (cgraphunit.c:2174)
==4715==    by 0x7FD63F: symbol_table::compile() [clone .part.52]
(cgraphunit.c:2531)
==4715==    by 0x7FFB54: compile (cgraphunit.c:2595)
==4715==    by 0x7FFB54: symbol_table::finalize_compilation_unit()
(cgraphunit.c:2621)
==4715==    by 0xC04D39: compile_file() (toplev.c:492)

Reply via email to