aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c99-array-nonobj-1.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2000-12-01 18:53:07 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2000-12-01 18:53:07 +0100
commitab937357527b7198b6345d935af5e51888567032 (patch)
tree5cf6632448272597f83a9be9809285ed8776ef09 /gcc/testsuite/gcc.dg/c99-array-nonobj-1.c
parent3a69a7d58ef5212c22187b661e466f062429b8cb (diff)
downloadgcc-ab937357527b7198b6345d935af5e51888567032.zip
gcc-ab937357527b7198b6345d935af5e51888567032.tar.gz
gcc-ab937357527b7198b6345d935af5e51888567032.tar.bz2
builtins.c (target_char_cast): New function.
* builtins.c (target_char_cast): New function. (expand_builtin_strchr): Use it. (expand_builtin_strrchr): Use it. (builtin_memset_read_str): New function. (expand_builtin_memset): Use target_char_cast. Try to optimize memset with second argument non-zero using store_by_pieces. * gcc.c-torture/execute/string-opt-5.c: Add some memset tests. From-SVN: r37918
Diffstat (limited to 'gcc/testsuite/gcc.dg/c99-array-nonobj-1.c')
0 files changed, 0 insertions, 0 deletions