On Mon, Mar 4, 2013 at 10:17 PM, Jakub Jelinek wrote:
> Hi!
>
> Something that again hits lots of testcases during valgrind checking
> bootstrap.  init_alias_analysis apparently does
>   vec_safe_grow_cleared (reg_known_value, maxreg - FIRST_PSEUDO_REGISTER);
>   reg_known_equiv_p = sbitmap_alloc (maxreg - FIRST_PSEUDO_REGISTER);
> but doesn't bitmap_clear (reg_known_equiv_p), perhaps as an optimization?

No, an incorrect replacement with sbitmap. We used to have:

  reg_known_equiv_p = XCNEWVEC (bool, reg_known_value_size);

I'm probably to blame for this one, actually :-)

Ciao!
Steven

Reply via email to