On Thu, Dec 04, 2014 at 11:10:15PM +0400, Dmitry Vyukov wrote: > That would be an option too. I don't know whether it is much better or not. > Kernel lives without constructors, they are used only by coverage. And > coverage does not need priorities. So it is only kasan that needs > priorities. That would be a plenty of code in lib/module.c only for > kasan...
If you change it, we can revert the gcc change. > Meanwhile here is backport to 4.9. Applied w/o conflicts (not counting > ChangeLog). > > OK to commit to gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch ? Ok. Jakub