re PR tree-optimization/89664 (ICE in free_bb, at tree-ssa-math-opts.c:522)
authorRichard Biener <rguenther@suse.de>
Tue, 12 Mar 2019 07:56:23 +0000 (07:56 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 12 Mar 2019 07:56:23 +0000 (07:56 +0000)
commitd9e1f37fad2db0cd749cd5c6f9e94972c8472610
treef11132839af1ed186bfca4d0798668ec65801c08
parent05073a0d54f65876f4aa827a3ae6b00b6dc74638
re PR tree-optimization/89664 (ICE in free_bb, at tree-ssa-math-opts.c:522)

2019-03-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/89664
* tree-ssa-math-opts.c (execute_cse_reciprocals_1): Properly
free the occurance tree after the early out.

* gfortran.dg/pr89664.f90: New testcase.

From-SVN: r269604
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr89664.f90 [new file with mode: 0644]
gcc/tree-ssa-math-opts.c