2015-10-16 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Oct 2015 07:52:32 +0000 (07:52 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Oct 2015 07:52:32 +0000 (07:52 +0000)
commitcba8396b9bce0cfd66e6f615e15b6ccde6aa7f47
tree12b7942cbfd2cb3899bacd9893cc12f3a473ced1
parent0e49e441a698b969547c0bae9839a886b92a7d8e
2015-10-16  Richard Biener  <rguenther@suse.de>

* gimple-fold.c (gimple_fold_builtin_memory_op): Use gimple_build
and get rid of force_gimple_operand_gsi.
(gimple_fold_builtin_memory_chk): Likewise.
(gimple_fold_builtin_stxcpy_chk): Likewise.
(rewrite_to_defined_overflow): Likewise.
(gimple_convert_to_ptrofftype): New function.
* gimple-fold.h (gimple_convert_to_ptrofftype): New overload,
declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228863 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-fold.c
gcc/gimple-fold.h