On Thu, 8 Dec 2016, Jakub Jelinek wrote:
> Hi!
>
> The following testcases show two bugs in zero_one_operation (used during
> undistribute optimization) and functions it calls.
> The first one (wrong-code) is fixed by the
> + tree orig_def = *def;
> and
> - if (stmts_to_fix.length () > 0)
> +
Hi!
The following testcases show two bugs in zero_one_operation (used during
undistribute optimization) and functions it calls.
The first one (wrong-code) is fixed by the
+ tree orig_def = *def;
and
- if (stmts_to_fix.length () > 0)
+ if (stmts_to_fix.length () > 0 || *def == orig_def)
changes