http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58524

            Bug ID: 58524
           Summary: [4.9 Regression] ICE mem_ref_in_stmt, at
                    tree-ssa-loop-im.c:677
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: build, ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org

Bootstrapping GCC leads to (in stage 3):

../../gcc/ira-color.c: In function 'void ira_color()':
../../gcc/ira-color.c:4414:1: internal compiler error: in mem_ref_in_stmt, at
tree-ssa-loop-im.c:677


That's:
  hash = iterative_hash_expr (*mem, 0);
  ref = memory_accesses.refs.find_with_hash (*mem, hash);

  gcc_assert (ref != NULL);


If I unset MALLOC_PERTURB_, it works, which implies that some uninitialized
memory is used. The cause should be some recent patch as a 20130924 build
worked.

Reply via email to