Re: Fix buffer overflow in ipa_profile

2013-08-23 Thread Florian Weimer
On 08/21/2013 04:30 PM, Jan Hubicka wrote: Index: ipa.c === --- ipa.c (revision 201890) +++ ipa.c (working copy) @@ -1397,7 +1397,7 @@ ipa_profile_read_summary (void) static unsigned int ipa_profile (void) { - stru

Fix buffer overflow in ipa_profile

2013-08-21 Thread Jan Hubicka
Hi, as Martin noticed, there is bug in ipa_profile that first allocate order array and then introduce new local aliases before calling ipa_reverse_postorder. Fixed thus and committed as obvious. Honza Index: ChangeLog === --- ChangeL