https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128919

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[14/15/16/17 Regression]    |[14/15/16 Regression] wrong
                   |wrong code: strlen pass     |code: strlen pass bounds a
                   |bounds a string stored      |string 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             |

--- Comment #4 from ktkachov at gcc dot gnu.org ---
Fixed on trunk. Will backport later

Reply via email to