[Bug middle-end/90356] Missed optimization for variables initialized to 0.0

2019-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90356 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/90356] Missed optimization for variables initialized to 0.0

2019-05-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90356 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug middle-end/90356] Missed optimization for variables initialized to 0.0

2019-05-05 Thread no...@turm-lahnstein.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90356 --- Comment #3 from ead --- I guess -0.0+0.0=0.0 is the reason we have to add it once. I think there is no need to add 0.0 twice. Btw. compiled with -fno-signed-zeros, the code gets optimized to doit: ret as expected.

[Bug middle-end/90356] Missed optimization for variables initialized to 0.0

2019-05-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90356 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization