[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-10-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795

--- Comment #17 from Jakub Jelinek  ---
Author: jakub
Date: Mon Oct 21 11:42:37 2019
New Revision: 277251

URL: https://gcc.gnu.org/viewcvs?rev=277251=gcc=rev
Log:
Backported from mainline
2019-09-11  Jakub Jelinek  

PR rtl-optimization/89435
PR rtl-optimization/89795
PR rtl-optimization/91720
* gcc.dg/pr89435.c: New test.
* gcc.dg/pr89795.c: New test.
* gcc.dg/pr91720.c: New test.

Added:
branches/gcc-9-branch/gcc/testsuite/gcc.dg/pr89435.c
branches/gcc-9-branch/gcc/testsuite/gcc.dg/pr89795.c
branches/gcc-9-branch/gcc/testsuite/gcc.dg/pr91720.c
Modified:
branches/gcc-9-branch/gcc/testsuite/ChangeLog

[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795

--- Comment #16 from Jakub Jelinek  ---
*** Bug 91720 has been marked as a duplicate of this bug. ***

[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-09-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795

--- Comment #15 from Jakub Jelinek  ---
Author: jakub
Date: Wed Sep 11 11:37:39 2019
New Revision: 275642

URL: https://gcc.gnu.org/viewcvs?rev=275642=gcc=rev
Log:
PR rtl-optimization/89435
PR rtl-optimization/89795
PR rtl-optimization/91720
* gcc.dg/pr89435.c: New test.
* gcc.dg/pr89795.c: New test.
* gcc.dg/pr91720.c: New test.

Added:
trunk/gcc/testsuite/gcc.dg/pr89435.c
trunk/gcc/testsuite/gcc.dg/pr89795.c
trunk/gcc/testsuite/gcc.dg/pr91720.c
Modified:
trunk/gcc/testsuite/ChangeLog

[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-09-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795

Eric Botcazou  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #14 from Eric Botcazou  ---
Fixed on all branches.

[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-09-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795

--- Comment #13 from Eric Botcazou  ---
Author: ebotcazou
Date: Wed Sep 11 10:44:06 2019
New Revision: 275638

URL: https://gcc.gnu.org/viewcvs?rev=275638=gcc=rev
Log:
PR rtl-optimization/89795
* rtlanal.c (nonzero_bits1) : Do not propagate results from
inner REGs to paradoxical SUBREGs if WORD_REGISTER_OPERATIONS is set.

Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/rtlanal.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
branches/gcc-7-branch/gcc/testsuite/gcc.target/sparc/2016-1.c

[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-09-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795

--- Comment #12 from Eric Botcazou  ---
Author: ebotcazou
Date: Wed Sep 11 10:43:19 2019
New Revision: 275637

URL: https://gcc.gnu.org/viewcvs?rev=275637=gcc=rev
Log:
PR rtl-optimization/89795
* rtlanal.c (nonzero_bits1) : Do not propagate results from
inner REGs to paradoxical SUBREGs if WORD_REGISTER_OPERATIONS is set.

Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/rtlanal.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/gcc.target/sparc/2016-1.c

[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-09-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795

--- Comment #11 from Eric Botcazou  ---
Author: ebotcazou
Date: Wed Sep 11 10:42:31 2019
New Revision: 275636

URL: https://gcc.gnu.org/viewcvs?rev=275636=gcc=rev
Log:
PR rtl-optimization/89795
* rtlanal.c (nonzero_bits1) : Do not propagate results from
inner REGs to paradoxical SUBREGs if WORD_REGISTER_OPERATIONS is set.

Modified:
branches/gcc-9-branch/gcc/ChangeLog
branches/gcc-9-branch/gcc/rtlanal.c
branches/gcc-9-branch/gcc/testsuite/ChangeLog
branches/gcc-9-branch/gcc/testsuite/gcc.target/sparc/2016-1.c

[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-09-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795

--- Comment #10 from Eric Botcazou  ---
Author: ebotcazou
Date: Wed Sep 11 10:41:27 2019
New Revision: 275635

URL: https://gcc.gnu.org/viewcvs?rev=275635=gcc=rev
Log:
PR rtl-optimization/89795
* rtlanal.c (nonzero_bits1) : Do not propagate results from
inner REGs to paradoxical SUBREGs if WORD_REGISTER_OPERATIONS is set.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/rtlanal.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/sparc/2016-1.c

[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

2019-09-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89795

Eric Botcazou  changed:

   What|Removed |Added

  Component|target  |rtl-optimization

--- Comment #9 from Eric Botcazou  ---
Recategorizing.