[PATCH] Don't ICE on empty bbs with no successors in EH opt (PR middle-end/57499)

2014-02-05 Thread Jakub Jelinek
Hi! As the testcase shows, invalid use of noreturn attribute (which we diagnose) can result in in empty bb with no successors. This patch fixes cleanup_empty_eh not to ICE on these. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2014-02-04 Jakub Jelinek ja...@redhat.com

Re: [PATCH] Don't ICE on empty bbs with no successors in EH opt (PR middle-end/57499)

2014-02-05 Thread Richard Biener
On Wed, 5 Feb 2014, Jakub Jelinek wrote: Hi! As the testcase shows, invalid use of noreturn attribute (which we diagnose) can result in in empty bb with no successors. This patch fixes cleanup_empty_eh not to ICE on these. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for