linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* declaration specifiers wooziness
@ 2007-06-27 10:33 Alexey Dobriyan
  2007-06-27 15:01 ` Josh Triplett
  0 siblings, 1 reply; 11+ messages in thread
From: Alexey Dobriyan @ 2007-06-27 10:33 UTC (permalink / raw)
  To: linux-sparse; +Cc: adobriyan

sparse silently accepts some peculiar combinations of declaration
specifiers:

"typedef extern;" passes.

"void char a;" errors about void declaration, however,
"extern void char a;" passes. Hey, "extern void a;" passes!

"char short a;" passes too. Ditto for "char float a;" and
"char long a".

"typedef inline a;" passes.

Not sure how many different bugs there are here, though...

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-06-27 16:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).