make pattern_regs a vec
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>
Thu, 28 Jul 2016 11:01:34 +0000 (11:01 +0000)
committerTrevor Saunders <tbsaunde@gcc.gnu.org>
Thu, 28 Jul 2016 11:01:34 +0000 (11:01 +0000)
commit246af050e7d8a91b14dc00f277a8c549260e2168
tree04156d321e5699e3459ada251e85df654bf1c088
parent1225d6b1134b5eb31bcb592ac46a4d479dcb62b1
make pattern_regs a vec

gcc/ChangeLog:

2016-07-28  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

* store-motion.c (struct st_expr): Make pattern_regs a vector.
(extract_mentioned_regs): Append to a vector instead of
returning a rtx_expr_list.
(st_expr_entry): Adjust.
(free_st_expr_entry): Likewise.
(store_ops_ok): Likewise.
(store_killed_in_insn): Likewise.
(find_moveable_store): Likewise.

From-SVN: r238812
gcc/ChangeLog
gcc/store-motion.c