gimple-fold.c (gimple_fold_builtin_memory_op): Use gimple_build and get rid of force_...
authorRichard Biener <rguenther@suse.de>
Fri, 16 Oct 2015 07:52:32 +0000 (07:52 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 16 Oct 2015 07:52:32 +0000 (07:52 +0000)
commit74e3c262622d61ee507eaf6000537cc4cd39b907
tree12b7942cbfd2cb3899bacd9893cc12f3a473ced1
parentaa00059cffcaf09573f37b64351a550ba6904594
gimple-fold.c (gimple_fold_builtin_memory_op): Use gimple_build and get rid of force_gimple_operand_gsi.

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.

From-SVN: r228863
gcc/ChangeLog
gcc/gimple-fold.c
gcc/gimple-fold.h