r269809 - in /trunk/gcc: ChangeLog tree-ssa-str...

msebor@gcc.gnu.org msebor@gcc.gnu.org
Tue Mar 19 18:35:00 GMT 2019


Author: msebor
Date: Tue Mar 19 18:35:42 2019
New Revision: 269809

URL: https://gcc.gnu.org/viewcvs?rev=269809&root=gcc&view=rev
Log:
PR tree-optimization/89644 - false-positive -Warray-bounds on strncpy with unterminated array

gcc/ChangeLog:
	* tree-ssa-strlen.c (handle_builtin_stxncpy): Use full_string_p
	rather than endptr as an indicator of nul-termination.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-strlen.c



More information about the Gcc-cvs mailing list