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: [LTO merge][8/15] GIMPLE streamer


On Wed, Sep 30, 2009 at 12:52 AM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> On Mon, 28 Sep 2009, Diego Novillo wrote:
>
>> This patch adds the gimple streamer.
>
> My comments on this patch relate to the portability of output (to
> different hosts for the same target), diagnostics and error handling.
>
> I can see some issues here with output portability that should be
> addressed for objects with LTO information to be portable between hosts.

I think trying to make the streamer format portable between hosts
is not an important goal (though that should be documented).

As of asserting on incompatible or corrupted LTO files - there is
(IIRC) a version check for the files which could be extended to
be for example endianess and HWI-size aware.

Richard.


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