This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: --enable-checking
Denis Onischenko <denis.onischenko@gmail.com> writes:
> In the description of --enable-checking option the following is written:
>
>>> Disabling assertions will make the compiler and runtime slightly faster but increase the risk of undetected internal errors causing wrong code to be generated.
>
>
> What means "runtime" there ?
It means the runtime support libraries used by gcc. Although I'm not
aware of any actual cases where --enable-checking affects the support
libraries.
> I want to include all checks, except those that slow down runtime
> libraries and programs.
> What checks (`assert', `df', `fold', `gc', `gcac' `misc', `rtl',
> `rtlflag', `runtime', `tree', and `valgrind') only affect the
> compiler, and which the runtime libraries used by programs ?
Only "assert" can affect the runtime libraries. As far as I know, it
does not affect them, but it could.
Ian