Cgraph alias reorg 15/14 (New infrastructure for same body aliases)

H.J. Lu hjl.tools@gmail.com
Sun Jun 12 16:29:00 GMT 2011


On Sun, Jun 12, 2011 at 7:54 AM, Jan Hubicka <hubicka@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.



More information about the Gcc-patches mailing list