Linux SPARSE checker discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] fix bogus "crazy progammer"
@ 2017-06-16 19:18 Luc Van Oostenryck
  2017-06-16 19:18 ` [PATCH 1/2] fix OP_PHI usage in try_to_simplify_bb() only when non-bogus Luc Van Oostenryck
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Luc Van Oostenryck @ 2017-06-16 19:18 UTC (permalink / raw)
  To: linux-sparse; +Cc: Chris Li, Ramsay Jones, Luc Van Oostenryck

The goal of this series is to fix the bogus "crazy progammer"
warnings issued by sparse when running on the git tree.

This "crazy programmer" warning is issued when there is
a circulary dependency between pseudos but in the present
case this circulary dependence was only an consequence of
optimizations applied on a wrong state.

With this bug fixed, there is only a single sparse warnings 
left in the git tree (and it's most probably a bogus one).
Big congrats to them!
For comparison the Linux kernel has more than 1000 errors and
close to 24000 warnings (on an allyesconfig for x86-64),
plenty of bogus ones but also a lot of real ones.

For the adventurous ones, this series is also available at:
  git://github.com/lucvoo/sparse.git fix-eager-ttsbb


Luc Van Oostenryck (2):
  fix OP_PHI usage in try_to_simplify_bb() only when non-bogus
  fix: try_to_simplify_bb eargerness

 flow.c               | 47 ++++++++++++++++++++++++++---------------------
 validation/crazy03.c | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+), 21 deletions(-)
 create mode 100644 validation/crazy03.c

-- 
2.13.0


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

end of thread, other threads:[~2017-06-20 18:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-16 19:18 [PATCH 0/2] fix bogus "crazy progammer" Luc Van Oostenryck
2017-06-16 19:18 ` [PATCH 1/2] fix OP_PHI usage in try_to_simplify_bb() only when non-bogus Luc Van Oostenryck
2017-06-16 19:18 ` [PATCH 2/2] fix: try_to_simplify_bb eargerness Luc Van Oostenryck
2017-06-16 20:10 ` [PATCH 0/2] fix bogus "crazy progammer" Ramsay Jones
2017-06-17  3:44   ` Luc Van Oostenryck
2017-06-17 21:20     ` Ramsay Jones
2017-06-18  6:43       ` Luc Van Oostenryck
2017-06-18  7:24         ` Christopher Li
2017-06-18  8:11           ` Luc Van Oostenryck
2017-06-20 18:09             ` Christopher Li
2017-06-20 18:48               ` Luc Van Oostenryck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox