]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/52976 (Revision 186384 breaks the polyhedron tests aermod...
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 18 Apr 2012 12:25:17 +0000 (12:25 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Wed, 18 Apr 2012 12:25:17 +0000 (12:25 +0000)
commitc2723bdeb0d4e2ed329fef1b54acf74410c4de63
tree24f945ec17043bf3649ef743ced01d53a287b3e0
parent03fd03d5bcb647dac06dd8e30a4660d4621e1d2e
re PR tree-optimization/52976 (Revision 186384 breaks the polyhedron tests aermod.f90 and doduc.f90 at -O3 -ffast-math)

gcc:

2012-04-18  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/52976
* tree-ssa-reassoc.c (stmt_is_power_of_op): New function.
(decrement_power): Likewise.
(propagate_op_to_single_use): Likewise.
(zero_one_operation): Handle __builtin_pow* calls in linearized
expression trees; factor logic into propagate_op_to_single_use.
(undistribute_ops_list): Allow operands with repeat counts > 1.

gcc/testsuite:

2012-04-18  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/52976
gfortran.dg/reassoc_7.f: New test.
gfortran.dg/reassoc_8.f: Likewise.
gfortran.dg/reassoc_9.f: Likewise.
gfortran.dg/reassoc_10.f: Likewise.

From-SVN: r186567
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/reassoc_10.f [new file with mode: 0644]
gcc/testsuite/gfortran.dg/reassoc_7.f [new file with mode: 0644]
gcc/testsuite/gfortran.dg/reassoc_8.f [new file with mode: 0644]
gcc/testsuite/gfortran.dg/reassoc_9.f [new file with mode: 0644]
gcc/tree-ssa-reassoc.c