bchop Utility - Abstract
TITLE
"So Optimization Breaks Your Code ..."
ABSTRACT
Many compiler options can have an adverse affect on a code. Most
notably, various levels of optimization can "break" a code, such
that the program gives erroneous results. One option is to compile
for the lowest common denominator. The other option is to identify
which routines are adversely affected. The local utility, bchop
performs a binary chop between object files in two directories
(./good and ./bad) compares the output and isolates which object
files are causing the differences in output. This helps isolate
problems due to changing compiler or preprocessor options. The
number of runs performed is approximately
2 E log2(N),
where N is
the number of object files and E is the number of object modules
causing errors. This utility, bchop, is similar to CRI's atchop
for isolating multitasking problems.