This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [lto][RFC] Do not emit hybrid object files
On Fri, Oct 17, 2008 at 16:51, Richard Henderson <rth@redhat.com> wrote:
> If the version of GCC being used isn't compatible with the version of the IL
> in the object file, we can just fall back on the final code.
Fair enough. But this could be provided via a flag to optionally emit
final code. The more common scenario is likely to be hermetic builds
that use the same compiler throughout. Duplicating code generation
for *every* build seems too wasteful to make it the compiler's default
behaviour.
Packaging IL-only files to be optimized during deployment could be an
attractive feature. We probably don't want to make strong guarantees
on the compatibility of the IL format, but in time we could probably
get to the point where we can allow minor versions to be
interchangeable.
Diego.