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

[csmith-project/csmith] 524f6b: fix a bug in selecting loop control variables.



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/csmith

  Commit: 524f6b54835766d0dddfca3f535915c6377ee52b
      https://github.com/csmith-project/csmith/commit/524f6b54835766d0dddfca3f535915c6377ee52b
  Author: Xuejun Yang <jxyang@cs.utah.edu>
  Date:   2011-07-22 (Fri, 22 Jul 2011)

  Changed paths:
    M src/StatementFor.cpp
  M src/Type.cpp
  M src/VariableSelector.cpp

  Log Message:
  -----------
  fix a bug in selecting loop control variables.

No union integer fields should be selected as loop control variable if another field is pointer because stepping could potentially invalidate the pointer analysis