We're using compiler version 15.2.3 and TivaC RTOS 2.16.1.14. Everything runs fine when the compiler's optimizer is turned off, but when we enable it (even at level 0) we get the bus fault. NVIC_FAULT_ADDR indicates an address in the flash memory range with optimizer set to 2, and with the optimizer set to 0 I've seen it attempt to write to the ROM memory range. To be clear, none of the code actually attempts to do this, and it runs fine when the optimizer is off.
Nothing indicates that this is due to peripheral usage (as I've seen in other posts here), has anyone else run into issues with bus faults only when enabling the optimizer?