[Bug tree-optimization/52976] [4.8 Regression] Revision 186384 breaks the polyhedron tests aermod.f90 and doduc.f90 at -O3 -ffast-math
wschmidt at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 18 12:31:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52976
--- Comment #16 from William J. Schmidt <wschmidt at gcc dot gnu.org> 2012-04-18 12:25:30 UTC ---
Author: wschmidt
Date: Wed Apr 18 12:25:17 2012
New Revision: 186567
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186567
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/reassoc_10.f
trunk/gcc/testsuite/gfortran.dg/reassoc_7.f
trunk/gcc/testsuite/gfortran.dg/reassoc_8.f
trunk/gcc/testsuite/gfortran.dg/reassoc_9.f
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-reassoc.c
More information about the Gcc-bugs
mailing list