Commit ce7e54ff by Jakub Jelinek Committed by Jakub Jelinek

tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Fix handling of…

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
parent 83197f37
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
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment