aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2016-08-12 07:38:24 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2016-08-12 07:38:24 +0000
commit8df06bd0eb37240c40140bf2d2528ad6a665474a (patch)
treeec56bb1a6459b7d3c0776301373c8e2067935fae /gcc/common.opt
parent663eecfd13dbedddf6fccc1a857dd1728078040b (diff)
downloadgcc-8df06bd0eb37240c40140bf2d2528ad6a665474a.zip
gcc-8df06bd0eb37240c40140bf2d2528ad6a665474a.tar.gz
gcc-8df06bd0eb37240c40140bf2d2528ad6a665474a.tar.bz2
passes.c (execute_todo): Do not push/pop TV_TODO.
2016-08-12 Richard Biener <rguenther@suse.de> * passes.c (execute_todo): Do not push/pop TV_TODO. (execute_one_ipa_transform_pass): Move timevar push/pop TODO execution. (execute_one_pass): Likewise. * common.opt (ftime-report-details): New switch. * doc/invoke.texi (ftime-report-details): Document. * timevar.h (timer::print_row): Adjust signature. (timer::all_zero): New static helper. (timer::child_map_t): New typedef. (timer::time_var_def): Add children field. * timevar.c (timer::named_items::print): Adjust. (timer::~timer): Free timevar recorded children. (timer::pop_internal): When -ftime-report-details record time spent in sub-timevars. (timer::print_row): Adjust. (timer::print): Print sub-timevar stats, use all_zero. * timevar.def (TV_TODO): Remove. From-SVN: r239406
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 44adae8..65a9762 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -2296,6 +2296,10 @@ ftime-report
Common Report Var(time_report)
Report the time taken by each compiler pass.
+ftime-report-details
+Common Report Var(time_report_details)
+Record times taken by sub-phases separately.
+
ftls-model=
Common Joined RejectNegative Enum(tls_model) Var(flag_tls_default) Init(TLS_MODEL_GLOBAL_DYNAMIC)
-ftls-model=[global-dynamic|local-dynamic|initial-exec|local-exec] Set the default thread-local storage code generation model.