[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2023-07-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 97260, which changed state. Bug 97260 Summary: [10 regression] memcmp of constant string and local constant array not folded https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97260 What|Removed

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 91490, which changed state. Bug 91490 Summary: [9 Regression] bogus argument missing terminating nul warning on strlen of a flexible array member https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91490 What|Rem

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2022-05-15 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 83907, which changed state. Bug 83907 Summary: missing strlen optimization for non-zero memset followed by a nul byte store https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83907 What|Removed

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2021-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86708, which changed state. Bug 86708 Summary: strlen of an empty aggregate element or member string not folded https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86708 What|Removed |Added --

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2021-05-03 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 91914, which changed state. Bug 91914 Summary: [9 Regression] Invalid strlen optimization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91914 What|Removed |Added -

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2020-11-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 95673, which changed state. Bug 95673 Summary: missing -Wstring-compare for an impossible strncmp test https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95673 What|Removed |Added

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2020-04-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 94815, which changed state. Bug 94815 Summary: Abusive -Wrestrict warning with sprintf https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94815 What|Removed |Added

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2020-04-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 85484, which changed state. Bug 85484 Summary: missing -Wstringop-overflow for strcpy with a string of non-const length https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85484 What|Removed |

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2020-01-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 91315, which changed state. Bug 91315 Summary: missing strlen lower bound of a string known to be at least N characters https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91315 What|Removed |

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2020-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 93213, which changed state. Bug 93213 Summary: [10 Regression] wrong code with -Og -foptimize-strlen https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93213 What|Removed |Added --

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-11-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 92683, which changed state. Bug 92683 Summary: [10 Regression] strncmp incorrect result with equal substrings and non-const bound https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92683 What|Removed

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-11-28 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 92683, which changed state. Bug 92683 Summary: [10 Regression] strncmp incorrect result with equal substrings and non-const bound https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92683 What|Removed

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-11-26 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 92683, which changed state. Bug 92683 Summary: [10 Regression] strncmp incorrect result with equal substrings and non-const bound https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92683 What|Removed

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-11-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 92501, which changed state. Bug 92501 Summary: strncmp with constant unterminated arrays not folded https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92501 What|Removed |Added ---

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-10-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 92226, which changed state. Bug 92226 Summary: [10 Regression] live nul char store to array eliminated https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92226 What|Removed |Added

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-10-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 92157, which changed state. Bug 92157 Summary: [10 Regression] incorrect strcmp() == 0 result for unknown strings https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92157 What|Removed |Added

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-10-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 83821, which changed state. Bug 83821 Summary: local aggregate initialization defeats strlen optimization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83821 What|Removed |Added -

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-10-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 91996, which changed state. Bug 91996 Summary: fold non-constant strlen relational expressions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91996 What|Removed |Added

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-10-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86427, which changed state. Bug 86427 Summary: strlen not folded after strcpy into a zeroed-out local array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86427 What|Removed |Added ---

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-10-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 83674, which changed state. Bug 83674 Summary: strcpy folding of small strings defeats strlen optimization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83674 What|Removed |Added

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-10-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 90879, which changed state. Bug 90879 Summary: fold zero-equality of strcmp between a longer string and a smaller array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90879 What|Removed |

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-08-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 91449, which changed state. Bug 91449 Summary: [10 regression] new test case gcc.dg/strlenopt-73.c fails https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91449 What|Removed |Added --

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-08-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 91183, which changed state. Bug 91183 Summary: strlen of a strcpy result with a conditional source not folded https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91183 What|Removed |Added

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-08-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 91294, which changed state. Bug 91294 Summary: [10 Regression] wrong strlen result of a conditional with an offset https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91294 What|Removed |Added

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-08-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 90989, which changed state. Bug 90989 Summary: [9 Regression] incorrrect strlen result after second strcpy into the same destination https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90989 What|Removed

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-07-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 88059, which changed state. Bug 88059 Summary: Spurious stringop-overflow warning with strlen, malloc and strncpy https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88059 What|Removed |Added

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-06-19 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 90626, which changed state. Bug 90626 Summary: fold strcmp(a, b) == 0 to zero when one string length is exact and the other is unequal https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90626 What|Removed

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-06-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 90662, which changed state. Bug 90662 Summary: strlen of a string in a vla plus offset not folded https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90662 What|Removed |Added -

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-03-19 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 89688, which changed state. Bug 89688 Summary: [9 Regression] -Wstringop-overflow confused by const 2D array of char https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89688 What|Removed |Add

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-11-04 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86572, which changed state. Bug 86572 Summary: unsafe strlen folding of const arguments with non-const offset https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86572 What|Removed |Added

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-08-28 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86914, which changed state. Bug 86914 Summary: [8 Regression] -O2 generates wrong code with strlen() of pointers within one-element arrays of structures https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86914 What

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-07-26 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86042, which changed state. Bug 86042 Summary: [8/9 Regression] missing strlen optimization after second strcpy https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86042 What|Removed |Added --

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-07-26 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86043, which changed state. Bug 86043 Summary: strlen after memcpy partially overwriting a string not optimized https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86043 What|Removed |Added --

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-07-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86622, which changed state. Bug 86622 Summary: [9 Regression] incorrect strlen of array of array plus variable offset https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86622 What|Removed |Ad

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-07-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 83693, which changed state. Bug 83693 Summary: missing strlen optimization for array of arrays https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83693 What|Removed |Added

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-07-16 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86528, which changed state. Bug 86528 Summary: [9 Regression] strlen of constant string malfunction -- had to back out fix for PR middle-end/77357 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86528 What|Re

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-07-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86415, which changed state. Bug 86415 Summary: strlen() not folded for substrings within constant arrays https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86415 What|Removed |Added --

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-07-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86428, which changed state. Bug 86428 Summary: strlen of const array initialized with a string of the same length not folded https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86428 What|Removed

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-07-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 77357, which changed state. Bug 77357 Summary: strlen of constant strings not folded https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77357 What|Removed |Added --

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-07-05 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86400, which changed state. Bug 86400 Summary: set::sethttps://gcc.gnu.org/bugzilla/show_bug.cgi?id=86400 What|Removed |Added

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-06-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86204, which changed state. Bug 86204 Summary: [9 Regression] wrong strlen result after prior strnlen https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86204 What|Removed |Added -

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-06-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86203, which changed state. Bug 86203 Summary: duplicate non-constant call to strlen() not folded https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86203 What|Removed |Added -

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-06-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 81384, which changed state. Bug 81384 Summary: built-in form of strnlen missing https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81384 What|Removed |Added ---

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-06-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86083, which changed state. Bug 86083 Summary: handle non-constant assignments in strlen https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86083 What|Removed |Added --

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-05-31 Thread qinzhao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 83026, which changed state. Bug 83026 Summary: missing strlen optimization for strcmp of unequal strings https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83026 What|Removed |Added --

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-01-25 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 71304, which changed state. Bug 71304 Summary: missing strlen optimizations after string truncation by assigning NUL https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71304 What|Removed |Add

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2018-01-13 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|