[Bug tree-optimization/80576] dead strcpy and strncpy followed by memset not eliminated

law at redhat dot com gcc-bugzilla@gcc.gnu.org
Fri Jul 12 22:49:00 GMT 2019


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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at redhat dot com

--- Comment #3 from Jeffrey A. Law <law at redhat dot com> ---
I happened to stumble across this while looking for something else in BZ.  I
don't think it'd be hard to do this in DSE.  The question I have is how common
this is in practice.

Have you seen this kind of code in the wild?


More information about the Gcc-bugs mailing list