linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] restricted pointers
@ 2017-11-08 21:06 Luc Van Oostenryck
  2017-11-08 21:06 ` [PATCH v2 1/7] remove never-used MOD_TYPEDEF Luc Van Oostenryck
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Luc Van Oostenryck @ 2017-11-08 21:06 UTC (permalink / raw)
  To: linux-sparse; +Cc: Luc Van Oostenryck

The goal of this series is to prepare for a real support
for C99's 'restrict' type qualifier.
As preliminary steps this series also contains a
cleanup of the #define MOD_XYZ and as bonus it teaches
sparse about C11's '_Atomic' as type *qualifier*

Change since v1:
- remove patches related to error vs. warnings which
  have already been integrated.
- improve commit messages

This series is available for review & testing at:
        git://github.com/lucvoo/sparse.git restricted-pointers-v2


Luc Van Oostenryck (7):
  remove never-used MOD_TYPEDEF
  MOD_ACCESSED is not a type modifier ...
  reorganize the definition of the modifiers
  remove redundancy in MOD_STORAGE
  define MOD_QUALIFIER for (MOD_CONST | MOD_VOLATILE)
  associate MOD_RESTRICT with restrict-qualified variables
  add support for C11's _Atomic as type qualifier

 evaluate.c                   |  2 +-
 expand.c                     |  2 +-
 gdbhelpers                   | 12 +++---
 ident-list.h                 |  2 +-
 parse.c                      | 31 ++++++++++++---
 show-parse.c                 |  4 +-
 symbol.c                     |  4 +-
 symbol.h                     | 80 ++++++++++++++++++-------------------
 validation/c11-atomic.c      | 93 ++++++++++++++++++++++++++++++++++++++++++++
 validation/optim/restrict.c  | 73 ++++++++++++++++++++++++++++++++++
 validation/reload-aliasing.c | 41 +++++++++++++++++++
 validation/restrict.c        | 93 ++++++++++++++++++++++++++++++++++++++++++++
 validation/typeof-mods.c     | 28 +++++++++++++
 13 files changed, 406 insertions(+), 59 deletions(-)
 create mode 100644 validation/c11-atomic.c
 create mode 100644 validation/optim/restrict.c
 create mode 100644 validation/reload-aliasing.c
 create mode 100644 validation/restrict.c

-- 
2.14.0


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

end of thread, other threads:[~2017-11-09 18:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-08 21:06 [PATCH v2 0/7] restricted pointers Luc Van Oostenryck
2017-11-08 21:06 ` [PATCH v2 1/7] remove never-used MOD_TYPEDEF Luc Van Oostenryck
2017-11-08 21:06 ` [PATCH v2 2/7] MOD_ACCESSED is not a type modifier Luc Van Oostenryck
2017-11-08 21:06 ` [PATCH v2 3/7] reorganize the definition of the modifiers Luc Van Oostenryck
2017-11-08 21:06 ` [PATCH v2 4/7] remove redundancy in MOD_STORAGE Luc Van Oostenryck
2017-11-08 21:06 ` [PATCH v2 5/7] define MOD_QUALIFIER for (MOD_CONST | MOD_VOLATILE) Luc Van Oostenryck
2017-11-08 21:06 ` [PATCH v2 6/7] associate MOD_RESTRICT with restrict-qualified variables Luc Van Oostenryck
2017-11-08 21:06 ` [PATCH v2 7/7] add support for C11's _Atomic as type qualifier Luc Van Oostenryck
2017-11-09 18:55 ` [PATCH v2 0/7] restricted pointers Christopher Li

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