Backport r199953 from trunk.
commit61bfdddf03a75b3d7ef36a977bf9eeba53d724f4
authordehao <dehao@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Jun 2013 22:34:15 +0000 (11 22:34 +0000)
committerdehao <dehao@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Jun 2013 22:34:15 +0000 (11 22:34 +0000)
tree276befe97f90771bbc5852f64d023a1a1f27719b
parente5d3f1dfb1b62c5f6f9003bf03b39e6b05b02426
Backport r199953 from trunk.

2013-06-11  Martin Jambor  <mjambor@suse.cz>

* ipa-cp.c (ipa_get_indirect_edge_target_1): Check that param_index is
within bounds at the beginning of the function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google@199970 138bc75d-0d04-0410-961f-82ee72b054a4
gcc-4_8/gcc/ipa-cp.c