diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-03-23 21:32:10 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-03-23 21:32:10 +0000 |
commit | 4b2a62db33607b4e900ff793150ee996e9281420 (patch) | |
tree | d736f0d5e31243208284ce7ccec1ead4a2c7611d /gcc/builtins.c | |
parent | d4daa0b423f3015ef2df16016db7cbb8e0cf3fe2 (diff) | |
download | gcc-4b2a62db33607b4e900ff793150ee996e9281420.zip gcc-4b2a62db33607b4e900ff793150ee996e9281420.tar.gz gcc-4b2a62db33607b4e900ff793150ee996e9281420.tar.bz2 |
builtins.c (expand_builtin): Handle bcmp.
* builtins.c (expand_builtin): Handle bcmp.
* builtins.def: Add BUILT_IN_BCMP.
* c-common.c (c_common_nodes_and_builtins): Provide builtin
prototype & function for bcmp.
From-SVN: r32715
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index f03b70e..5486552 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -2313,6 +2313,7 @@ expand_builtin (exp, target, subtarget, mode, ignore) && (fcode == BUILT_IN_SIN || fcode == BUILT_IN_COS || fcode == BUILT_IN_FSQRT || fcode == BUILT_IN_MEMSET || fcode == BUILT_IN_MEMCPY || fcode == BUILT_IN_MEMCMP + || fcode == BUILT_IN_BCMP || fcode == BUILT_IN_STRLEN || fcode == BUILT_IN_STRCPY || fcode == BUILT_IN_STRCMP || fcode == BUILT_IN_FFS)) return expand_call (exp, target, ignore); @@ -2460,6 +2461,7 @@ expand_builtin (exp, target, subtarget, mode, ignore) return target; break; + case BUILT_IN_BCMP: case BUILT_IN_MEMCMP: target = expand_builtin_memcmp (exp, arglist, target); if (target) @@ -2467,6 +2469,7 @@ expand_builtin (exp, target, subtarget, mode, ignore) break; #else case BUILT_IN_STRCMP: + case BUILT_IN_BCMP: case BUILT_IN_MEMCMP: break; #endif |