![]() |
Compiler - minimal test suite - Printable Version +- MISRA Discussion Forums (https://forum.misra.org.uk) +-- Forum: MISRA C (https://forum.misra.org.uk/forumdisplay.php?fid=4) +--- Forum: General Questions (https://forum.misra.org.uk/forumdisplay.php?fid=27) +--- Thread: Compiler - minimal test suite (/showthread.php?tid=1752) |
Compiler - minimal test suite - delirium5223 - 04-09-2025 It would be nice if MISRA specified a mandatory C/C++ compiler minimal test-suite package to be run against production compiler. If your compiler is claimed to be C99 compliant, then you shouldn't be worried about not passing. We have seen so many buggy compilers (e.g. I remember Microchip miscompiling u32 on 8bit code that ran fine in IAR on 32bit) If we cannot trust the compiler then we can argue about MISRA rules all day, the hidden bugs will remain to be found either by testing or by end user. It will never be perfect nor exhaustive, but we could raise the minimum bar at least. |