r260976 - in /trunk/gcc: ChangeLog builtins.c

msebor@gcc.gnu.org msebor@gcc.gnu.org
Wed May 30 22:25:00 GMT 2018


Author: msebor
Date: Wed May 30 22:24:43 2018
New Revision: 260976

URL: https://gcc.gnu.org/viewcvs?rev=260976&root=gcc&view=rev
Log:
PR middle-end/85369 - no -Wstringop-overflow for a strcpy / stpcpy call with a nonstring pointer when providing movstr pattern

gcc/ChangeLog:

	PR middle-end/85369
	* builtins.c (expand_builtin_stpcpy_1): New function.
	(expand_builtin_stpcpy): Call it, and call maybe_warn_nonstring_arg
	only if the former succeeds.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c



More information about the Gcc-cvs mailing list