public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Baraa Jarkas <baraajarkas@live.com>
Cc: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: Re: MISRA C
Date: Wed, 13 Oct 2021 20:35:08 +0100	[thread overview]
Message-ID: <CAH6eHdSQ8sRQZWbULRpe6djAkQ7onx8-bfUwxePomDcE7cT6CA@mail.gmail.com> (raw)
In-Reply-To: <VI1PR07MB3182746A11F4ECEA4DCBD74BD2B79@VI1PR07MB3182.eurprd07.prod.outlook.com>

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.

  reply	other threads:[~2021-10-13 19:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-13 13:10 Baraa Jarkas
2021-10-13 19:35 ` Jonathan Wakely [this message]
2021-10-15 15:50   ` David Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH6eHdSQ8sRQZWbULRpe6djAkQ7onx8-bfUwxePomDcE7cT6CA@mail.gmail.com \
    --to=jwakely.gcc@gmail.com \
    --cc=baraajarkas@live.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).