MISRA C

Jonathan Wakely jwakely.gcc@gmail.com
Wed Oct 13 19:35:08 GMT 2021


On Wed, 13 Oct 2021 at 14:11, Baraa Jarkas via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
>
> Hi,
>
> I would like to know which Misra C Rules are supported by GCC compiler and if there is any document contains these informations.

What do you mean by "supported"?

Valid C code that follows MISRA rules can be compiled by GCC, but I
doubt that's what you mean.

If you want something to check that the rules are followed, that's not
what GCC is for. GCC is a compiler. There are static analysis tools
that can check for conformance to guidelines like MISRA.


More information about the Gcc-help mailing list