This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Change initialization order in sel-sched
On 04/17/2012 03:33 PM, Alexander Monakov wrote:
> Bernd, could you elaborate on the segfault you had seen? Perhaps we could
> offer some advice on fixing it then.
It was only seen with another patch which modified the sched-rgn
initialization code.
> In the meanwhile, could you revert your patch? I'm sorry to point out this
> problem after the patch had been committed, but it's not immediately obvious :)
> Andrey or I will add an explanatory comment in sel-sched afterwards.
Will revert for now. In general I think it would be better to change
sel-sched so that the init functions can always be called in the same
order, so as to avoid unnecessary surprises.
Bernd