[Bug tree-optimization/81555] Wrong code at -O1

2017-07-26 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81555 --- Comment #4 from Dmitry Babokin --- (In reply to Marc Glisse from comment #3) > -fno-tree-reassoc should help both. It helps. > It is often a combination of optimizations that causes the bug. Reassoc is > doing a good transformation, but it

[Bug tree-optimization/81555] Wrong code at -O1

2017-07-26 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81555 --- Comment #3 from Marc Glisse --- (In reply to Dmitry Babokin from comment #2) > Hmmm, but this one is triggered at -O1, another only at -O2. -fno-tree-reassoc should help both. It is often a combination of optimizations that causes the bug.

[Bug tree-optimization/81555] Wrong code at -O1

2017-07-26 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81555 --- Comment #2 from Dmitry Babokin --- Hmmm, but this one is triggered at -O1, another only at -O2.

[Bug tree-optimization/81555] Wrong code at -O1

2017-07-26 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81555 --- Comment #1 from Marc Glisse --- Same reassoc issue as PR 81556 it seems.