re PR tree-optimization/82337 (ICE: SSA corruption at tree-ssa-coalesce.c:1010)
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Fri, 29 Sep 2017 14:55:14 +0000 (14:55 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Fri, 29 Sep 2017 14:55:14 +0000 (14:55 +0000)
commite75210d645630f12bf149043cf6ae51829f5ed78
treeb21573fe18781df592cfb303930614cf91d73b5f
parenteafa7a907b88719f2cb6cfa8addd5accf55310e5
re PR tree-optimization/82337 (ICE: SSA corruption at tree-ssa-coalesce.c:1010)

[gcc]

2017-09-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/82337
* gimple-ssa-strength-reduction.c (find_phi_def): Don't record a
phi definition if the PHI result appears in an abnormal PHI.
(find_basis_for_base_expr): Don't record a basis if the LHS of the
basis appears in an abnormal PHI.

[gcc]

2017-09-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/82337
* gcc.c-torture/compile/pr82337.c: New file.

From-SVN: r253293
gcc/ChangeLog
gcc/gimple-ssa-strength-reduction.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr82337.c [new file with mode: 0644]