X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fvalue-prof.c;h=33ecded88c39f7a52fe6d5844309fc1a90987ae6;hp=937688fad4a95fa312398d5f96f748fbaabb47f2;hb=0f4d0c21b0d4036be52bd17a0a5014ee099f181c;hpb=8c4c00c181e6df4f0a9afc76e4c9edbbc1c2fd41 diff --git a/gcc/value-prof.c b/gcc/value-prof.c index 937688fad4a..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) @@ -1392,13 +1392,13 @@ tree_stringops_transform (block_stmt_iterator *bsi) case BUILT_IN_MEMSET: if (!can_store_by_pieces (val, builtin_memset_read_str, CALL_EXPR_ARG (call, 1), - dest_align)) + dest_align, true)) return false; break; case BUILT_IN_BZERO: if (!can_store_by_pieces (val, builtin_memset_read_str, integer_zero_node, - dest_align)) + dest_align, true)) return false; break; default: