This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/86061] dead memset followed by strncpy and assignment not eliminated


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]