BPM: edit_bpm.c::edit_bpm_backtrace_matrix() bug with Fujitsu Compiler (FCC-4.2.0b 20200807)
Compiling BPM with FCC-4.2.0b 20200807 with -O3 optimization level produces wrong results.
These two loops in edit_bpm.c::edit_bpm_backtrace_matrix() do not update the variable op_sentinel correctly:
while (h>=0) { operations[op_sentinel--] = 'I'; --h; }
while (v>=0) { operations[op_sentinel--] = 'D'; --v; }
Compiling with -O0 or adding printfs to the loops seems to fix the problem. This does not happen when compiling with GCC-10.2.0