diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2008-05-10 13:55:25 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2008-05-10 13:55:25 +0200 |
commit | d35910bf73e22522179c629051e9432ecd82d07e (patch) | |
tree | 47c50e443c8941586663e93102d4aed33571bc2b /gcc/value-prof.c | |
parent | 372b05fcbb220f1253c3c64f507f7566d5bd517c (diff) | |
download | gcc-d35910bf73e22522179c629051e9432ecd82d07e.zip gcc-d35910bf73e22522179c629051e9432ecd82d07e.tar.gz gcc-d35910bf73e22522179c629051e9432ecd82d07e.tar.bz2 |
value-prof.c (interesting_stringop_to_profile): Do not return early for BUILT_IN_MEMPCPY.
* value-prof.c (interesting_stringop_to_profile): Do not
return early for BUILT_IN_MEMPCPY.
From-SVN: r135141
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r-- | gcc/value-prof.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c index 124a3c8..33ecded 100644 --- a/gcc/value-prof.c +++ b/gcc/value-prof.c @@ -1209,8 +1209,8 @@ interesting_stringop_to_profile_p (tree fndecl, tree call) { enum built_in_function fcode = DECL_FUNCTION_CODE (fndecl); - if (fcode != BUILT_IN_MEMSET && fcode != BUILT_IN_MEMCPY - && fcode != BUILT_IN_BZERO) + if (fcode != BUILT_IN_MEMCPY && fcode != BUILT_IN_MEMPCPY + && fcode != BUILT_IN_MEMSET && fcode != BUILT_IN_BZERO) return false; switch (fcode) |