From: Uros Bizjak Date: Sat, 10 May 2008 11:55:25 +0000 (+0200) Subject: value-prof.c (interesting_stringop_to_profile): Do not return early for BUILT_IN_MEMPCPY. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d35910bf73e22522179c629051e9432ecd82d07e;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d9cb32655ee..b62535aa832 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-05-10 Uros Bizjak + + * value-prof.c (interesting_stringop_to_profile): Do not + return early for BUILT_IN_MEMPCPY. + 2008-05-09 H.J. Lu * calls.c (expand_call): Don't use callgraph to increase diff --git a/gcc/value-prof.c b/gcc/value-prof.c index 124a3c866b1..33ecded88c3 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)