r151051 - in /branches/gcc-4_4-branch/gcc: Chan...
rguenth@gcc.gnu.org
rguenth@gcc.gnu.org
Mon Aug 24 09:52:00 GMT 2009
Author: rguenth
Date: Mon Aug 24 09:52:03 2009
New Revision: 151051
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151051
Log:
2009-08-24 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:
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/torture/pr41094.c
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/builtins.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/builtins-10.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/torture/builtin-power-1.c
More information about the Gcc-cvs
mailing list