For gcc flags like --coverage, do they have any side effect, for example run time performance penalty?
If not then can I just leave them in the common makefile and use them to build production code?
Gcc document doesn't say anything about this.
This question How Does The Debugging Option -g Change the Binary Executable?
explains -g, but how about --coverage?I guess the answer is yes, the added instrument code must cost quite a bit at runtime