diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2016-05-30 19:59:24 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2016-05-30 17:59:24 +0000 |
commit | 53803093d096611166267de1390d0318592944e2 (patch) | |
tree | 8529e0dc67698ab7f10a95570da366aebc79f10b /gcc | |
parent | a448ff403b72f8e9d914a63d89ebca8246dad0ef (diff) | |
download | gcc-53803093d096611166267de1390d0318592944e2.zip gcc-53803093d096611166267de1390d0318592944e2.tar.gz gcc-53803093d096611166267de1390d0318592944e2.tar.bz2 |
tree-cfg.c (print_loop): Print likely upper bounds.
* tree-cfg.c (print_loop): Print likely upper bounds.
From-SVN: r236893
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/tree-cfg.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e4816b3..be1d4b1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,8 @@ 2016-05-30 Jan Hubicka <hubicka@ucw.cz> + + * tree-cfg.c (print_loop): Print likely upper bounds. + +2016-05-30 Jan Hubicka <hubicka@ucw.cz> * doc/invoke.texi (-fpeel-loops,-O3): Update documentation. * opts.c (default_options): Enable peel loops at -O3. diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 82f0da6c..7fc24ba 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -7780,6 +7780,11 @@ print_loop (FILE *file, struct loop *loop, int indent, int verbosity) fprintf (file, ", upper_bound = "); print_decu (loop->nb_iterations_upper_bound, file); } + if (loop->any_likely_upper_bound) + { + fprintf (file, ", likely_upper_bound = "); + print_decu (loop->nb_iterations_likely_upper_bound, file); + } if (loop->any_estimate) { |