| Submitter | Paolo Bonzini |
|---|---|
| Date | Nov. 27, 2012, 4 p.m. |
| Message ID | <1354032036-32387-1-git-send-email-bonzini@gnu.org> |
| Download | mbox | patch |
| Permalink | /patch/202256/ |
| State | New |
| Headers | show |
Comments
On Tue, Nov 27, 2012 at 5:00 PM, Paolo Bonzini wrote: > When changing reg_known_value to a VEC, Steven sneaked in a small > semantic change. I don't sneak, I just tend to do stupid things from time to time ;-) Thanks for catching this, and sorry for the breakage! Ciao! Steven
Patch
Index: ../../gcc/alias.c =================================================================== --- ../../gcc/alias.c (revisione 193853) +++ ../../gcc/alias.c (copia locale) @@ -2808,7 +2808,7 @@ init_alias_analysis (void) timevar_push (TV_ALIAS_ANALYSIS); - vec_alloc (reg_known_value, maxreg - FIRST_PSEUDO_REGISTER); + vec_safe_grow_cleared (reg_known_value, maxreg - FIRST_PSEUDO_REGISTER); reg_known_equiv_p = sbitmap_alloc (maxreg - FIRST_PSEUDO_REGISTER); /* If we have memory allocated from the previous run, use it. */