Get the pass management logic mostly compiling with gcc-4.8.