[PATCH, tree-optimization]: Fix PR tree-optimization/32821, segfault with -ftree-dump-tree-ifcvt-details

Daniel Berlin dberlin@dberlin.org
Thu Sep 6 16:37:00 GMT 2007

On 9/6/07, Uros Bizjak <ubizjak@gmail.com> wrote:
> Hello!
> As described in PR, compiler segfaults when trying to iterate through bb
> with no stmt. Attached patch adds checking for NULL bb_stmt_list in
> [c]bsi_start() and [c]bsi_last() to solve this problem.

We should never end up with a BB with no statement, IMHO.

More information about the Gcc-patches mailing list