r150874 - in /trunk/gcc: ChangeLog builtins.c t...
rguenth@gcc.gnu.org
rguenth@gcc.gnu.org
Tue Aug 18 13:40:00 GMT 2009
Author: rguenth
Date: Tue Aug 18 13:40:18 2009
New Revision: 150874
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150874
Log:
2009-08-18 Richard Guenther <rguenther@suse.de>
PR middle-end/41094
* builtins.c (fold_builtin_pow): Fold pow(pow(x,y),z) to
pow(x,y*z) only if x is nonnegative.
* gcc.dg/torture/pr41094.c: New testcase.
* gcc.dg/torture/builtin-power-1.c: Adjust.
* gcc.dg/builtins-10.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr41094.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtins.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/builtins-10.c
trunk/gcc/testsuite/gcc.dg/torture/builtin-power-1.c
More information about the Gcc-cvs
mailing list