[Bug tree-optimization/96696] Failure to optimize div+mul to mod+sub

2021-04-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96696 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3dcd1334b4f522352b80814513fdca902fc2a207 commit r12-150-g3dcd1334b4f522352b80814513fdca902fc2a207 Author: Jakub Jelinek Date: Tue

[Bug tree-optimization/96696] Failure to optimize div+mul to mod+sub

2021-01-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96696 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug tree-optimization/96696] Failure to optimize div+mul to mod+sub

2021-01-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96696 --- Comment #3 from Richard Biener --- I'd say doing sth at RTL expansion. For GIMPLE we should consider the cases int g1, g2; int f(int x, int y) { g1 = x / y; return x - (x % y); } int g(int x, int y) { g2 = x % y; return (x

[Bug tree-optimization/96696] Failure to optimize div+mul to mod+sub

2021-01-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96696 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/96696] Failure to optimize div+mul to mod+sub

2020-08-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96696 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED