http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51648

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-04 
21:40:41 UTC ---
Created attachment 26243
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26243
gcc47-pr51648.patch

Untested patch that implements this in tree-cfg.c (as I wrote, another
alternative is in cfganal.c, and another perhaps in branch_prob, we look for
the last stmt anyway, so just notting when it is a noreturn call and setting
need_exit_edge in that case should be enough too.

Reply via email to