https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128919
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |14.5
Component|c |tree-optimization
Summary|[12/13/14/15/16/17 |[14/15/16/17 Regression]
|Regression] wrong code: |wrong code: strlen pass
|strlen pass bounds a string |bounds a string stored
|stored through (char |through (char *)&struct by
|*)&struct by the size of |the size of the struct's
|the struct's first member, |first member, so
|so strncmp/strcmp == 0 is |strncmp/strcmp == 0 is
|folded to false |folded to false