[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[csmith-project/creduce] 30c2d8: Fixed a crash due to overwriting the same location



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/creduce
  Commit: 30c2d8e3a6505ed6699216833441eccaeedf02ad
      https://github.com/csmith-project/creduce/commit/30c2d8e3a6505ed6699216833441eccaeedf02ad
  Author: Yang Chen <chenyang@cs.utah.edu>
  Date:   2017-01-14 (Sat, 14 Jan 2017)

  Changed paths:
    M clang_delta/RemoveUnusedFunction.cpp
    M clang_delta/RemoveUnusedFunction.h

  Log Message:
  -----------
  Fixed a crash due to overwriting the same location

In some cases (most likely for ill-declared templates),
we may rewrite the same location multiple times, and
hence trigger an ICE. This is now fixed.