Gimpel Home Page
Sample Program
On-Line Demonstrations of FlexeLint and PC-lint (aka FlexeLint for Windows)

Bug of the Month for Aug 2007

Bug of the Month Samples

Leantes was quite proud of his program to extract fields from 32 bit words in such a way that through the magic of constant folding much of the arithmetic can be done at compile time. And it even works, mostly, but it has a slight flaw. Can you spot it?

Modify this example, if desired, and then hit the Analyse Code button

Run FlexeLint on Bug of the Month Samples
Home | Examples | Contact | Order

PC-lint and FlexeLint are trademarks of Gimpel Software
Copyright © 2009, Gimpel Software

Viewable With Any Browser