]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix parloops gimple_uid usage
authorTom de Vries <tom@codesourcery.com>
Tue, 13 Oct 2015 14:54:01 +0000 (14:54 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Tue, 13 Oct 2015 14:54:01 +0000 (14:54 +0000)
commitfdce493deb6604758d71ea759676ff5f3b4dafd7
tree3566664a4632dd96a92cfe14e3978434744306a8
parentf35a4f377119624a1a6afcd576052734a126f9ec
Fix parloops gimple_uid usage

2015-10-13  Tom de Vries  <tom@codesourcery.com>

* tree-parloops.c (reduction_phi): Handle cases that gimple_uid is 0 or
-1.  Add assert that returned entry matches phi argument.
(parallelize_loops): Move calls to init_stmt_vec_info_vec and
free_stmt_vec_info_vec ...
(gather_scalar_reductions): ... here.  Initialize gimple_uids of phis
with -1.

From-SVN: r228767
gcc/ChangeLog
gcc/tree-parloops.c