[Bug tree-optimization/86061] dead memset followed by strncpy and assignment not eliminated
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 5 21:27:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86061
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|missed-optimization |
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think this memset is only partial dead and not fully dead.
What I mean is the string p->n is smaller than 254, then the memset is still
not dead.
More information about the Gcc-bugs
mailing list