diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-structalias.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9db422d..12c60d7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-06-30 Jakub Jelinek <jakub@redhat.com> + + * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Fix + handling of BUILT_IN_MEMPCPY_CHK and BUILT_IN_STPCPY_CHK. + 2011-06-30 Ira Rosen <ira.rosen@linaro.org> * tree-vect-loop.c (vect_determine_vectorization_factor): Handle diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 799f9cf..f786207 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -4014,7 +4014,9 @@ find_func_aliases_for_builtin_call (gimple t) get_constraint_for (res, &lhsc); if (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_MEMPCPY || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_STPCPY - || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_STPNCPY) + || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_STPNCPY + || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_MEMPCPY_CHK + || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_STPCPY_CHK) get_constraint_for_ptr_offset (dest, NULL_TREE, &rhsc); else get_constraint_for (dest, &rhsc); |