aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/format/c23-scanf-1.c
diff options
context:
space:
mode:
authorAndrew Pinski <andrew.pinski@oss.qualcomm.com>2025-09-06 04:04:37 -0700
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>2025-09-06 13:19:57 -0700
commit8d381528c7894702d5000aa89c3da63833d4b3f5 (patch)
treeb4edd8804860ebca13c544ebef0bbc4d1ca1f51a /gcc/testsuite/gcc.dg/format/c23-scanf-1.c
parentffc25308acf736db769e980c3b1ba2f6f9148b2a (diff)
downloadgcc-8d381528c7894702d5000aa89c3da63833d4b3f5.zip
gcc-8d381528c7894702d5000aa89c3da63833d4b3f5.tar.gz
gcc-8d381528c7894702d5000aa89c3da63833d4b3f5.tar.bz2
forwprop: Factor out the memcpy followed by memset optimization
As simplify_builtin_call adds more and more optimization, it is getting bigger and bigger and easier to misunderstand, so this factors out the memcpy followed by memset optimization (which was the original optimization added). Bootstrapped and tested on x86_64-linux-gnu. gcc/ChangeLog: * tree-ssa-forwprop.cc (simplify_builtin_call): Factor out the memcpy followed by a memset optimization to ... (simplify_builtin_memcpy_memset): Here. New function. Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
Diffstat (limited to 'gcc/testsuite/gcc.dg/format/c23-scanf-1.c')
0 files changed, 0 insertions, 0 deletions