RFE: 'enable checking' as a GCC compilation switch?
Ian Lance Taylor
iant@google.com
Sun Oct 3 19:04:00 GMT 2010
Gary Funck <gary@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
More information about the Gcc
mailing list