summaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-10 11:55:25 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-10 11:55:25 +0000
commit058d05d51e9be450e8293277b2b19e7665dc8352 (patch)
tree47c50e443c8941586663e93102d4aed33571bc2b /gcc/value-prof.c
parentc69f9953efd31d1eef40ae465491842123dba732 (diff)
downloadgcc-058d05d51e9be450e8293277b2b19e7665dc8352.tar.gz
* value-prof.c (interesting_stringop_to_profile): Do not
return early for BUILT_IN_MEMPCPY. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135141 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r--gcc/value-prof.c4
1 files changed, 2 insertions, 2 deletions
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)