re PR middle-end/65950 (exit in main is causing the path to it to become unlikely.)
commite25a366f6fbfec00094d243a41b0d9dacdd66575
authorAndrew Pinski <apinski@cavium.com>
Tue, 18 Oct 2016 15:42:21 +0000 (18 15:42 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Tue, 18 Oct 2016 15:42:21 +0000 (18 08:42 -0700)
tree70307918b5e308ff62590061ea8e9064e63d6288
parent5cb96b6a87ec58038803fd093974e383483ed76e
re PR middle-end/65950 (exit in main is causing the path to it to become unlikely.)

2016-10-18  Andrew Pinski  <apinski@cavium.com>

        PR tree-opt/65950
        * predict.c (is_exit_with_zero_arg): New function.
        (tree_bb_level_predictions): Don't consider paths leading to exit(0)
        as nottaken.

From-SVN: r241309
gcc/ChangeLog
gcc/predict.c