This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, We already warn to users about -ftime-report when checking is enabled but it seems like a good thing to also warn about when assert checking is DISABLED as the released compiler has assert checking enabled so timings will not be the same as a released compiler. I also changed the --disable-checking to --enable-checking=release in the warning about when checking is enabled so people get the correct idea.
Thanks, Andrew Pinski
ChangeLog: * timevar.c (timevar_print): Change reference of --disable-checking to --enable-checking=release. Also warn if assert checking is disabled.
Attachment:
t.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |