[Bug tree-optimization/119431] Missed strlen when cmp to NUL forwards with increments

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119431 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/119431] Missed strlen when cmp to NUL forwards with increments

2025-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119431 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement CC|

[Bug tree-optimization/119431] Missed strlen when cmp to NUL forwards with increments

2025-03-22 Thread kaelfandrew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119431 --- Comment #3 from Kael Franco --- Bug also reported to Clang: https://github.com/llvm/llvm-project/issues/132578

[Bug tree-optimization/119431] Missed strlen when cmp to NUL forwards with increments

2025-03-22 Thread kaelfandrew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119431 --- Comment #2 from Kael Franco --- Flags were -O3

[Bug tree-optimization/119431] Missed strlen when cmp to NUL forwards with increments

2025-03-22 Thread kaelfandrew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119431 --- Comment #1 from Kael Franco --- Created attachment 60855 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60855&action=edit -fdump-tree-optimized