linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Josh Triplett <josht@linux.vnet.ibm.com>
To: Derek M Jones <derek@knosof.co.uk>
Cc: Alexey Dobriyan <adobriyan@sw.ru>,
	linux-sparse@vger.kernel.org, adobriyan@gmail.com
Subject: Re: declaration specifiers wooziness
Date: Wed, 27 Jun 2007 08:48:10 -0700	[thread overview]
Message-ID: <1182959290.8970.59.camel@josh-work.beaverton.ibm.com> (raw)
In-Reply-To: <468285D1.1020506@knosof.co.uk>

On Wed, 2007-06-27 at 16:44 +0100, Derek M Jones wrote:
> All,
> 
> >>> The syntax permits:
> >>>
> >>> signed unsigned short long double int;
> >>
> >> Please, read 6.7.2(2).
> > 
> > Semantic spoil sport.
> 
> The point I did not mention before sending the email
> was the extent to which Sparse needs to check constructs
> that are constraint violations and thus assumed to be checked
> by the compiler.
> 
> Ok, it is possible to get weird looking stuff through sparse
> without complaint, but is it worth spending time flagging it?
> 
> Surely time should be concentrated on flagging suspicious constructs
> that are valid C and not in correctly handling obscure corners
> of the language.

Ideally, I would like Sparse to provide a self-contained set of
warnings, even those potentially redundant with a compiler.  However, I
agree that in general Sparse should give priority to issues that a
compiler will not already flag.

- Josh Triplett

  reply	other threads:[~2007-06-27 15:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-27 10:33 declaration specifiers wooziness Alexey Dobriyan
2007-06-27 15:01 ` Josh Triplett
2007-06-27 15:16   ` Derek M Jones
2007-06-27 15:31     ` Alexey Dobriyan
2007-06-27 15:34       ` Derek M Jones
2007-06-27 15:44         ` Derek M Jones
2007-06-27 15:48           ` Josh Triplett [this message]
2007-06-27 16:00           ` Al Viro
2007-06-27 15:39     ` Al Viro
2007-06-27 15:39     ` Josh Triplett
2007-06-27 15:41       ` Al Viro

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=1182959290.8970.59.camel@josh-work.beaverton.ibm.com \
    --to=josht@linux.vnet.ibm.com \
    --cc=adobriyan@gmail.com \
    --cc=adobriyan@sw.ru \
    --cc=derek@knosof.co.uk \
    --cc=linux-sparse@vger.kernel.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 NNTP newsgroup(s).