Skip to content
Snippets Groups Projects
Forked from Utils / KWSys
1234 commits behind the upstream repository.
Brad King's avatar
Brad King authored
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.
01bb687d
History