"H.J. Lu" <hongjiu...@intel.com> writes: > Hi, > > On 32bit hosts, like Linux/ia32, HOST_WIDE_INT is 64bit. But lto and > lto-plugin still uses 32bit int in symbol ID handling. As the result, > LTO is totally broken on Linux/ia32. This patch switches symbol ID > to HOST_WIDE_INT in lto.c and long long in lto-plugin.c. Since > symbol ID is generated by lto.c, long long >= HOST_WIDE_INT and > lto-plugin.c only scans/prints symbol ID as numbers, it isn't a problem. > Tested on Linux/ia32 and Linux/x86-64. OK for trunk?
Thanks for fixing. Looks good to me. -Andi -- a...@linux.intel.com -- Speaking for myself only