https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94015
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|msebor at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 47959
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47959&action=edit
gcc10-pr94015.patch
Untested fix. There are various other issues, e.g. allnonnul result isn't used
anywhere (storing_all_nonzero_p being a write only var), even the description
is weird:
/* STORING_NONZERO_P is true iff not all stored characters are zero.
STORING_ALL_NONZERO_P is true if all stored characters are zero.
STORING_ALL_ZEROS_P is true iff all stored characters are zero.
Both are false when it's impossible to determine which is true. */