[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2023-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2020-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 --- Comment #12 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d3f293348768667c07770e433ff00af51fee73a2 commit r11-5186-gd3f293348768667c07770e433ff00af51fee73a2 Author: Jakub Jelinek Date:

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2020-11-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 Jakub Jelinek changed: What|Removed |Added Attachment #49595|0 |1 is obsolete|

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2020-11-19 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 --- Comment #10 from Andrew Macleod --- Created attachment 49597 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49597=edit op2_range implementation I think this does what you want for op2_range. I tried it with: void f1 (int i, int j) {

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2020-11-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 --- Comment #9 from Jakub Jelinek --- Created attachment 49595 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49595=edit gcc11-pr91029-2.patch Untested patch implementing the op1 rules. Dunno what to do for op2, one needs to create a

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2020-11-18 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 --- Comment #8 from Bruno Haible --- > what is the reason to require that b >= 0 in all of this? In the 1990ies there were portability problems with a%b, b < 0. ANSI C said that the result was machine-dependent if a < 0 or b < 0. Fortunately

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2020-11-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2020-11-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:71c9d2b088c9d409a1bd3b50523ac4623a5bf1b4 commit r11-5150-g71c9d2b088c9d409a1bd3b50523ac4623a5bf1b4 Author: Jakub Jelinek Date:

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2020-11-17 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 --- Comment #5 from Bruno Haible --- Nice! Thank you.

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2020-11-17 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2020-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 --- Comment #3 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:1e27e7a582a9b86bcf86f5c103cd947672746e97 commit r11-5111-g1e27e7a582a9b86bcf86f5c103cd947672746e97 Author: Andrew MacLeod Date:

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2019-07-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug tree-optimization/91029] missed optimization regarding value of modulo operation

2019-06-28 Thread bruno at clisp dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91029 Bruno Haible changed: What|Removed |Added Target||x86_64-pc-linux-gnu Host|