Hacker News new | ask | show | jobs
by EmpirePhoenix 2528 days ago
The more I read stuff like this, the more I come to the conclusion that actual security critial real time software should probably be compiled without any (agressive) optimisations
1 comments

You will be hard pressed to find a compiler that has a high level safety certification that covers optimizations. Most safety manuals I am aware of explicitly forbid enabling optimizations.
ARM Clang does not require optimizations to be switched off, and is certified for SIL3/ASIL4, IIRC.

Edit: https://store.developer.arm.com/store/embedded-iot-software-...

CompCert ?
Okay, it recently did get quite high formal certifications.