https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80487
Marc Glisse changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80487
--- Comment #3 from Marc Glisse ---
Author: glisse
Date: Sat Apr 29 14:39:25 2017
New Revision: 247408
URL: https://gcc.gnu.org/viewcvs?rev=247408&root=gcc&view=rev
Log:
Add st[pr]ncpy to stmt_kills_ref_p
2017-04-29 Marc Glisse
PR t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80487
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80487
--- Comment #1 from Marc Glisse ---
In tree-ssa-alias.c, stmt_kills_ref_p knows about memcpy but not about strncpy
(I had no idea until I read the man page just now that strncpy filled the
buffer with 0s). Since the 2 arguments of strncpy are not