re PR bootstrap/55051 (profiledbootstrap failed)
PR bootstrap/55051 * gcov-io.c (gcov_read_summary): Fix array bound check. From-SVN: r193522
This commit is contained in:
parent
ff4b7a7e91
commit
6c2b4cacb9
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-11-14 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR bootstrap/55051
|
||||
* gcov-io.c (gcov_read_summary): Fix array bound check.
|
||||
|
||||
2012-11-14 Sterling Augustine <saugustine@google.com>
|
||||
|
||||
PR debug/55328
|
||||
|
|
|
@ -552,8 +552,8 @@ gcov_read_summary (struct gcov_summary *summary)
|
|||
while (!cur_bitvector)
|
||||
{
|
||||
h_ix = bv_ix * 32;
|
||||
gcc_assert(bv_ix < GCOV_HISTOGRAM_BITVECTOR_SIZE);
|
||||
cur_bitvector = histo_bitvector[bv_ix++];
|
||||
gcc_assert(bv_ix <= GCOV_HISTOGRAM_BITVECTOR_SIZE);
|
||||
}
|
||||
while (!(cur_bitvector & 0x1))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue