[Bug tree-optimization/114682] const_array[i].b where i is PHI<0,1,2> is not folded

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114682 --- Comment #3 from Andrew Pinski --- Mine, similar to PR 102138 but slightly different because this becomes a load which is more similar to what phiprop does.

[Bug tree-optimization/114682] const_array[i].b where i is PHI<0,1,2> is not folded

2024-09-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114682 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug tree-optimization/114682] const_array[i].b where i is PHI<0,1,2> is not folded

2024-04-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114682 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/114682] const_array[i].b where i is PHI<0,1,2> is not folded

2024-04-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114682 --- Comment #1 from Andrew Pinski --- Note I was imspired to look into this because of https://github.com/llvm/llvm-project/issues/88274 (note LLVM does a worse job here and does not constant loads the string either).