Re: [PATCH] Fix extremely large LPBX arrays (PR gcov-profile/55650)

2012-12-13 Thread Richard Biener
On Wed, Dec 12, 2012 at 8:41 PM, Jakub Jelinek wrote: > Hi! > > On the attached testcase prg_ctr_mask is non-zero, presumably set > while there still were some functions in the TU, but later on none of them > are being emitted. This leads to n_functions in coverage_obj_finish being > 0, and the a

[PATCH] Fix extremely large LPBX arrays (PR gcov-profile/55650)

2012-12-12 Thread Jakub Jelinek
Hi! On the attached testcase prg_ctr_mask is non-zero, presumably set while there still were some functions in the TU, but later on none of them are being emitted. This leads to n_functions in coverage_obj_finish being 0, and the array thus containing 0x1 elements. Fixed thusly, bootstra