Hi All,

Here is a simple fix for 61391 - missed a check that statement basic
block is inside loop. With this fix test-case from bug is compiled
successfully.

Bootstrap and regression testing did not show any new failures.

Is it OK for trunk?

ChangeLog:

2014-06-04  Yuri Rumyantsev  <ysrum...@gmail.com>

PR tree-optimization/61319
* tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
stmt belongs to loop.

Attachment: patch
Description: Binary data

Reply via email to