Fix phi arg location in find_implicit_erroneous_behavior
authorTom de Vries <tom@codesourcery.com>
Thu, 20 Jul 2017 07:16:01 +0000 (07:16 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 20 Jul 2017 07:16:01 +0000 (07:16 +0000)
commitc9930ecd9c089bc2c9e82136280c9d2f494242bc
treeb2e828e725132ec617b56ff3cd925f6435ba89ae
parent2071f8f980cc0de02af3d7d7de201f4f189058ff
Fix phi arg location in find_implicit_erroneous_behavior

2017-07-20  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/81489
* gimple-ssa-isolate-paths.c (find_implicit_erroneous_behavior): Move
read of phi arg location to before loop that modifies phi.

From-SVN: r250378
gcc/ChangeLog
gcc/gimple-ssa-isolate-paths.c