[Bug middle-end/84309] [8 Regression] Wrong-code with -ffast-math
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 13 20:24:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84309
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 13 20:22:50 2018
New Revision: 257634
URL: https://gcc.gnu.org/viewcvs?rev=257634&root=gcc&view=rev
Log:
PR middle-end/84309
* match.pd (pow(C,x) -> exp(log(C)*x)): Use exp2s and log2s instead
of exps and logs in the use_exp2 case.
* gcc.dg/pr84309-2.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr84309-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/match.pd
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list