This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/86999] missed FMA optimization with -fassociative-math
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 22 Aug 2018 09:05:55 +0000
- Subject: [Bug tree-optimization/86999] missed FMA optimization with -fassociative-math
- Auto-submitted: auto-generated
- References: <bug-86999-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86999
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|wrong-code |
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-08-22
CC| |rguenth at gcc dot gnu.org
Component|middle-end |tree-optimization
Summary|Incorrect code generation |missed FMA optimization
|and missing optimization |with -fassociative-math
|with -fno-signed-zeros. |
Ever confirmed|0 |1
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
So as far as I understand comment#1 remains. The FMA pass should
handle (x +- 1)*y and (1 - x)*y.