This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][LTO] Check-picking patch


On Tue, Sep 23, 2008 at 07:28, Rafael Espindola <espindola@google.com> wrote:
>>        * lto-cgraph.c (struct lto_cgraph_encoder_def): New type.
>>        (struct lto_cgraph_node_ref): Ditto.
>>        (lto_cgraph_encoder_new, lto_cgraph_encoder_delete_ref,
>>        lto_cgraph_encoder_delete, lto_cgraph_encoder_encode,
>>        lto_cgraph_encoder_lookup, lto_cgraph_encoder_deref,
>>        lto_cgraph_encoder_size): New functions.
>
> This broke bootstrap on x86-64:
>
> ../../repo/gcc/lto-cgraph.c: In function 'lto_cgraph_encoder_encode':
> ../../repo/gcc/lto-cgraph.c:128: error: cast from pointer to integer
> of different size
> ../../repo/gcc/lto-cgraph.c:133: error: cast to pointer from integer
> of different size
> ../../repo/gcc/lto-cgraph.c: In function 'lto_cgraph_encoder_lookup':
> ../../repo/gcc/lto-cgraph.c:148: error: cast from pointer to integer
> of different size

I've fixed it to use HOST_WIDE_INT to store in the pointer_map.


Diego.

Attachment: 20080923-fix-64bit-bootstrap.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]