r125641 - in /trunk/gcc: ChangeLog fold-const.c...

uros@gcc.gnu.org uros@gcc.gnu.org
Tue Jun 12 07:19:00 GMT 2007


Author: uros
Date: Tue Jun 12 07:19:36 2007
New Revision: 125641

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125641
Log:
	* fold-const (fold_binary) [RDIV_EXPR]: Also optimize a/cbrt(b/c)
	into a*cbrt(c/b) if flag_unsafe_math_optimizations is set.

testuite/ChangeLog:

	* gcc.dg/builtins-11.c: Also check folding of a/cbrt(b/c).


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/builtins-11.c



More information about the Gcc-cvs mailing list