summaryrefslogtreecommitdiffstats
path: root/Tests/ModuleDefinition
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-07-02 17:57:19 (GMT)
committerBrad King <brad.king@kitware.com>2010-07-02 18:00:04 (GMT)
commitc3389d4ce2a8d3ee0ec1d4824a64347ded5832a0 (patch)
tree9b5bdb97ebf042175e2e79fd0fdfab57057d3533 /Tests/ModuleDefinition
parent9f3524f4696f394e04077aed93b482ed72cda4ca (diff)
downloadCMake-c3389d4ce2a8d3ee0ec1d4824a64347ded5832a0.zip
CMake-c3389d4ce2a8d3ee0ec1d4824a64347ded5832a0.tar.gz
CMake-c3389d4ce2a8d3ee0ec1d4824a64347ded5832a0.tar.bz2
KWSys: Avoid Clang optimizer bug in testProcess-[45]
Clang's optimizer, as of clang version 2.8 (trunk 107463), produces the undefined instruction 'ud2' for the code "*(int*)0=0" on OS X x86_64. It causes our crash tests to fail because the child process exits with an invalid instruction instead of a segmentation fault. Work around the bug by using "*(int*)1=0" in this case.
Diffstat (limited to 'Tests/ModuleDefinition')
0 files changed, 0 insertions, 0 deletions