Gary Funck <g...@intrepid.com> writes: > Recently, I ran into a couple of bugs/regessions that show up > only if checking is enabled. This led me to the observation that > it might be useful if checking can be enabled at runtime via a > gcc command line switch. If this capability can be enabled by > default, then regression tests could depend upon the checking > capability, or users could be asked to run with full checks > enabled when reporting bugs, etc.
You will need to try a sample implementation and see how much the compiler slows down and how much bigger it gets. Ian