Hi All,

Here is a simple fix for PR 63941 - wrong assertion for dominating bb
which may have true predicate. I deleted it and add setting of
non-true predicate for join bb. After this fix test-case is compiled
successfully.

Bootstrap and regression testing did not show any new failures.

Is it OK for trunk?

gcc/ChangeLog
2014-11-28  Yuri Rumyantsev  <ysrum...@gmail.com>

PR tree-optimization/63941
* tree-if-conv.c (add_to_predicate_list): Delete wrong assertion that
DOM_BB has non-true predicate, conditionally set non-true predicate
for BB.

gcc/testsuite/ChangeLog
* gcc.dg/torture/pr63941.c: New test.

Attachment: patch
Description: Binary data

Reply via email to