2016-10-18 Andrew Pinski <apinski@cavium.com>
commit30f2983e975d8c3495e323ece2b72d32804a74a6
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Oct 2016 15:42:21 +0000 (18 15:42 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Oct 2016 15:42:21 +0000 (18 15:42 +0000)
tree70307918b5e308ff62590061ea8e9064e63d6288
parent4d7671d9a4687dcc29b812e4817855fbed726b63
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241309 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/predict.c