diff options
author | Richard Guenther <rguenther@suse.de> | 2009-08-18 13:40:18 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-08-18 13:40:18 +0000 |
commit | 776e7174167360fdf2ba990e7c7c22536fe9227a (patch) | |
tree | 352c74ccff21f703c3493cc20f89542a38b26f32 /gcc/gimplify.c | |
parent | f3252b3c18e688f43df708d0003f0b6e0f89cc17 (diff) | |
download | gcc-776e7174167360fdf2ba990e7c7c22536fe9227a.zip gcc-776e7174167360fdf2ba990e7c7c22536fe9227a.tar.gz gcc-776e7174167360fdf2ba990e7c7c22536fe9227a.tar.bz2 |
re PR middle-end/41094 (Erroneous optimization of pow() with -ffast-math)
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.
From-SVN: r150874
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions