[Bug tree-optimization/110582] [14 Regression] Wrong code at -O2/3 on x86_64-linux-gnu

2023-07-31 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110582 Andrew Macleod changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/110582] [14 Regression] Wrong code at -O2/3 on x86_64-linux-gnu

2023-07-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110582 --- Comment #6 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:b769811e7c1b3dff2fa0ec2c37b52859d7bceed4 commit r14-2883-gb769811e7c1b3dff2fa0ec2c37b52859d7bceed4 Author: Andrew MacLeod Date:

[Bug tree-optimization/110582] [14 Regression] Wrong code at -O2/3 on x86_64-linux-gnu

2023-07-30 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110582 --- Comment #5 from Shaohua Li --- Bisect to r14-1179-g1cd5bc387c4

[Bug tree-optimization/110582] [14 Regression] Wrong code at -O2/3 on x86_64-linux-gnu

2023-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110582 --- Comment #4 from Andrew Pinski --- Another testcase: ``` int a, b; int main() { char a = 0; int t = 0; for (; t <253; t ++){ int d = 2; d ^= 2 && a; b = a == 0 ? d : d / a; a = b; } for (; (1 + 95 << 24) + b + 1 +

[Bug tree-optimization/110582] [14 Regression] Wrong code at -O2/3 on x86_64-linux-gnu

2023-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110582 --- Comment #3 from Andrew Pinski --- (In reply to Richard Biener from comment #2) > It works with -fno-tree-loop-optimize but the difference from loop opts is > just So changing it to what -ftree-loop-optimize, it still passes with

[Bug tree-optimization/110582] [14 Regression] Wrong code at -O2/3 on x86_64-linux-gnu

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110582 Richard Biener changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug tree-optimization/110582] [14 Regression] Wrong code at -O2/3 on x86_64-linux-gnu

2023-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110582 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization Keywords|