[Bug rtl-optimization/99927] [9/10 only] Wrong code since r11-39-gf9e1ea10e657af9f

2021-07-19 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927

Segher Boessenkool  changed:

   What|Removed |Added

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

--- Comment #22 from Segher Boessenkool  ---
Fixed everywhere.

[Bug rtl-optimization/99927] [9/10 only] Wrong code since r11-39-gf9e1ea10e657af9f

2021-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927

--- Comment #21 from CVS Commits  ---
The releases/gcc-9 branch has been updated by Segher Boessenkool
:

https://gcc.gnu.org/g:183a4022a2acfae91cfd861df98697eacfb5c2e5

commit r9-9631-g183a4022a2acfae91cfd861df98697eacfb5c2e5
Author: Segher Boessenkool 
Date:   Sat Apr 17 18:06:17 2021 +

combine: Don't create REG_UNUSED notes if the reg already died (PR99927)

If the register named in an existing REG_UNUSED note dies somewhere
between where the note used to be and I3, we should just drop it.

2021-04-21  Segher Boessenkool  

PR rtl-optimization/99927
* combine.c (distribute_notes) [REG_UNUSED]: If the register
already
is dead, just drop it.

(cherry picked from commit b412ce8e961052e6becea3bc783a53e1d5feaa0f)

[Bug rtl-optimization/99927] [9/10 only] Wrong code since r11-39-gf9e1ea10e657af9f

2021-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927

--- Comment #20 from CVS Commits  ---
The releases/gcc-10 branch has been updated by Segher Boessenkool
:

https://gcc.gnu.org/g:7ef9f0272258862439348dbaa57a46e9eabdc9ca

commit r10-9989-g7ef9f0272258862439348dbaa57a46e9eabdc9ca
Author: Segher Boessenkool 
Date:   Sat Apr 17 18:06:17 2021 +

combine: Don't create REG_UNUSED notes if the reg already died (PR99927)

If the register named in an existing REG_UNUSED note dies somewhere
between where the note used to be and I3, we should just drop it.

2021-04-21  Segher Boessenkool  

PR rtl-optimization/99927
* combine.c (distribute_notes) [REG_UNUSED]: If the register
already
is dead, just drop it.

[Bug rtl-optimization/99927] [9/10 only] Wrong code since r11-39-gf9e1ea10e657af9f

2021-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927

Andrew Pinski  changed:

   What|Removed |Added

   Target Milestone|10.4|9.5
  Known to fail||10.0

[Bug rtl-optimization/99927] [9/10 only] Wrong code since r11-39-gf9e1ea10e657af9f

2021-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927

Andrew Pinski  changed:

   What|Removed |Added

   Target Milestone|--- |10.4
Summary|Wrong code since|[9/10 only] Wrong code
   |r11-39-gf9e1ea10e657af9f|since
   ||r11-39-gf9e1ea10e657af9f