2015-03-12 Richard Biener <rguenther@suse.de>
commit923635e71a4da6a563b7c7cdab116c6e68d1bceb
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Mar 2015 08:48:32 +0000 (12 08:48 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Mar 2015 08:48:32 +0000 (12 08:48 +0000)
tree96cf4512c45734f7ca303c37449d8c368c5cb258
parenta9f44e20ceb10ba0ef730ee5f370c75cf5807d52
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221377 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-low.c
gcc/tree-cfg.c
gcc/tree-parloops.c
gcc/ubsan.c