On Sun, Jun 12, 2011 at 7:54 AM, Jan Hubicka <hubi...@ucw.cz> wrote: >> >> This also pretty much destroyed C++ for ia32: >> >> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49378 >> http://gcc.gnu.org/ml/gcc-regression/2011-06/msg00159.html > > Hi, > It seems somewhat amazing that we hit kernel sensitive miscompilation here. > The problem most probably is the fact that thunks and functions with thunks > can become > local. This is correct since thunks are represented as direct calls now, but > this > makes i386 to use local ABI when calling or compiling them. >
For x86-64, we use the same ABI for local and global. But RAX seems used and uninitialized in thunk. -- H.J.