re PR tree-optimization/71230 (ICE : in zero_one_operation, at tree-ssa-reassoc.c...
authorRichard Biener <rguenther@suse.de>
Mon, 23 May 2016 14:09:35 +0000 (14:09 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 23 May 2016 14:09:35 +0000 (14:09 +0000)
commit18b5400419aa18463e605e53020b5186007d60b1
tree408acbfab7a6060c79becc8a1c1a8864a6a24e1d
parenta50575432b41b3bc3b0a14cb2e6e53881941a99f
re PR tree-optimization/71230 (ICE : in zero_one_operation, at tree-ssa-reassoc.c:1230)

2016-05-23  Richard Biener  <rguenther@suse.de>

PR tree-optimization/71230
* tree-ssa-reassoc.c (acceptable_pow_call): Move initial condition...
(try_special_add_to_ops): ... here.  Always test for single-use.

* gfortran.dg/pr71230-1.f90: New testcase.
* gfortran.dg/pr71230-2.f90: Likewise.

From-SVN: r236591
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr71230-1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr71230-2.f90 [new file with mode: 0644]
gcc/tree-ssa-reassoc.c