I have tried to use ARM/THUMB instruction set and -O2 optimization level for the entire project. But didn't help much in case of CRC check.