tree-cfg.c (gimple_split_block): Remove loop finding stmt to split on.
authorRichard Biener <rguenther@suse.de>
Thu, 12 Mar 2015 08:48:32 +0000 (08:48 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 12 Mar 2015 08:48:32 +0000 (08:48 +0000)
commitb13c907ab30853cd117ee0fbcad4dd2629633baa
tree96cf4512c45734f7ca303c37449d8c368c5cb258
parentcb599e7d76f71c8bcb7f9484916f6be88527f8a6
tree-cfg.c (gimple_split_block): Remove loop finding stmt to split on.

2015-03-12  Richard Biener  <rguenther@suse.de>

* tree-cfg.c (gimple_split_block): Remove loop finding stmt
to split on.
* omp-low.c (expand_omp_taskreg): Split block before removing
the stmt.
(expand_omp_target): Likewise.
* ubsan.c (ubsan_expand_null_ifn): Adjust stmt if we replaced it.
* tree-parloops.c (create_call_for_reduction_1): Pass a proper
stmt to split_block.

From-SVN: r221377
gcc/ChangeLog
gcc/omp-low.c
gcc/tree-cfg.c
gcc/tree-parloops.c
gcc/ubsan.c