Prevent GCC from inlining these unsafe builtins: sprintf, vsprintf,
authormartynas <martynas@openbsd.org>
Sat, 28 Dec 2013 02:27:08 +0000 (02:27 +0000)
committermartynas <martynas@openbsd.org>
Sat, 28 Dec 2013 02:27:08 +0000 (02:27 +0000)
commitcec6a1aef603c056413a1e7be0bd728e9ca2f50a
treea497459f86d38c34903663e0b4f5ccd35a4d9d11
parent8dc182ca631057374ba9f5ec3283834736cfc39d
Prevent GCC from inlining these unsafe builtins: sprintf, vsprintf,
stpcpy, strcat, strcpy.  Also don't simplify some safe builtins
into unsafe ones, otherwise we'll hit the linker with the bogus
warning.  OK miod@, millert@.
gnu/gcc/gcc/builtins.c
gnu/gcc/gcc/tree-ssa-ccp.c