This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix wrong common symbol size in LTO symtabs.
On 11/11/2010 13:06, Richard Guenther wrote:
> On Thu, Nov 11, 2010 at 2:16 PM, Dave Korn <dave.korn.cygwin@gmail.com> wrote:
>> On 11/11/2010 10:05, Richard Guenther wrote:
>>
>>>> I take it that passing TREE_TYPE(t) into int_size_in_bytes (rather than the
>>>> decl "t" itself) would be correct?
>>> Hmm, I suppose so, yes.
>> Indeed, it was.
>>
>> gcc/ChangeLog:
>>
>> 2010-11-11 Dave Korn <...>
>>
>> * lto-streamer-out.c (write_symbol): Use int_size_in_bytes rather than
>> assembling high and low parts of size if not using 32-bit HWINT; else
>> use DECL_SIZE_UNITS, not DECL_SIZE.
>>
>> Bootstrapped and tested without regressions on x86_64-unknown-linux-gnu. OK?
>
> Ok.
Committed revision 166600.
cheers,
DaveK