gcc:
commit97bad2654a3347158675d71fb41d653f7c1f370f
authorwschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 May 2012 14:39:32 +0000 (16 14:39 +0000)
committerwschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 May 2012 14:39:32 +0000 (16 14:39 +0000)
tree04a19dfbfe937f4f6dfdd09b2c9d5029ed6c2cd3
parent9281483c9608d3919e3af37a3db016a4a92b2826
gcc:

2012-05-16  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/53217
* tree-ssa-reassoc.c (bip_map): New static variable.
(possibly_move_powi): Move feeding multiplies with __builtin_powi call.
(attempt_builtin_powi): Save feeding multiplies on a stack.
(reassociate_bb): Create and destroy bip_map.

gcc/testsuite:

2012-05-16  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/53217
* gfortran.dg/pr53217.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187595 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr53217.f90 [new file with mode: 0644]
gcc/tree-ssa-reassoc.c