re PR tree-optimization/83491 (ICE in execute_cse_reciprocals_1 at gcc/tree-ssa-math...
authorWilco Dijkstra <wdijkstr@arm.com>
Wed, 20 Dec 2017 23:55:42 +0000 (23:55 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 20 Dec 2017 23:55:42 +0000 (16:55 -0700)
commit5f84eb27a0a4f90914fab1d0068ae586fb763bde
tree24156b8e1d937f76dc44d179f062fcc75e4c8323
parent67d2229e8acc9cbf7279fe90c295cc47a60733dd
re PR tree-optimization/83491 (ICE in execute_cse_reciprocals_1 at gcc/tree-ssa-math-opts.c:585)

PR tree-optimization/83491
* tree-ssa-math-opts.c (execute_cse_reciprocals_1): Check for SSA_NAME
before walking uses.  Improve coding style and comments.

PR tree-optimization/83491
* gcc.dg/pr83491.c: Add new test.

From-SVN: r255906
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr83491.c [new file with mode: 0644]
gcc/tree-ssa-math-opts.c