diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-06-30 10:06:01 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-06-30 10:06:01 +0200 |
commit | ce7e54ff0d6dcddde211799be10e83a1aed4a9bb (patch) | |
tree | bf9c9a4935cc0507ec3f55a0653a89cd90d830f6 /gcc | |
parent | 83197f37339cecf1c89724341a85aae539751f84 (diff) | |
download | gcc-ce7e54ff0d6dcddde211799be10e83a1aed4a9bb.zip gcc-ce7e54ff0d6dcddde211799be10e83a1aed4a9bb.tar.gz gcc-ce7e54ff0d6dcddde211799be10e83a1aed4a9bb.tar.bz2 |
tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Fix handling of BUILT_IN_MEMPCPY_CHK and BUILT_IN_STPCPY_CHK.
* tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Fix
handling of BUILT_IN_MEMPCPY_CHK and BUILT_IN_STPCPY_CHK.
From-SVN: r175682
Diffstat (limited to 'gcc')
-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); |