[Bug tree-optimization/108356] [13 Regression] Dead Code Elimination Regression at -O2 since r13-434-g6b156044c12bc4

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

[Bug tree-optimization/108356] [13 Regression] Dead Code Elimination Regression at -O2 since r13-434-g6b156044c12bc4

2023-02-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108356 --- Comment #6 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:881bf8de9b07fb501d61ade8f521f1cc9dbe712e commit r13-5630-g881bf8de9b07fb501d61ade8f521f1cc9dbe712e Author: Andrew MacLeod Date:

[Bug tree-optimization/108356] [13 Regression] Dead Code Elimination Regression at -O2 since r13-434-g6b156044c12bc4

2023-01-13 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108356 --- Comment #5 from Andrew Macleod --- The full comment is the test case is: /* Verify offsets in an anti-range. */ <...> /* The initial source range is valid but the final range after the access has complete cannot be. The value

[Bug tree-optimization/108356] [13 Regression] Dead Code Elimination Regression at -O2 since r13-434-g6b156044c12bc4

2023-01-13 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108356 --- Comment #4 from Andrew Macleod --- Created attachment 54270 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54270=edit possible patch When the on-entry cache is updated for a block, all incoming ranges are unioned together and the

[Bug tree-optimization/108356] [13 Regression] Dead Code Elimination Regression at -O2 since r13-434-g6b156044c12bc4

2023-01-10 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108356 --- Comment #3 from Andrew Macleod --- Hmm. It is not eliminated until VRP1 now. Looks like something in EVRP. lets see...

[Bug tree-optimization/108356] [13 Regression] Dead Code Elimination Regression at -O2 since r13-434-g6b156044c12bc4

2023-01-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108356 --- Comment #2 from Richard Biener --- (In reply to Andrew Macleod from comment #1) > From ccp2 : > > Simulating block 2 > > Visiting statement: > c.2_1 = c; > which is likely CONSTANT > Lattice value changed to VARYING. Adding SSA edges to

[Bug tree-optimization/108356] [13 Regression] Dead Code Elimination Regression at -O2 since r13-434-g6b156044c12bc4

2023-01-10 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108356 --- Comment #1 from Andrew Macleod --- >From ccp2 : Simulating block 2 Visiting statement: c.2_1 = c; which is likely CONSTANT Lattice value changed to VARYING. Adding SSA edges to worklist. Whereas in GCC12 I see: Simulating block 2

[Bug tree-optimization/108356] [13 Regression] Dead Code Elimination Regression at -O2 since r13-434-g6b156044c12bc4

2023-01-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108356 Martin Liška changed: What|Removed |Added Target Milestone|--- |13.0 Last reconfirmed|