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] PATCH: move -fwpa/-fltrans to lto1


On Thu, Oct 2, 2008 at 07:49, Richard Guenther
<richard.guenther@gmail.com> wrote:

> And I thought for LTO we would properly make prerequesites happen instead
> of hacking in yet another -combine thing.

We are.  But at the moment, the type system gimplification and
language dependencies removal are not fully realized, so it's
misleading to pretend that other languages will Just Work; they won't.

We will focus on C++/C for the next while.  If there is interest in
tackling type gimplification in other front ends, we can leave this
option in common.opt.  It's only a 2 line patch, after all.  Do you
think you'll be interested in working on the other front ends?

The only real obstacle to supporting arbitrary front ends is type
gimplification.  We have the beginnings of such a thing in
pass_ipa_free_lang_specifics, but that is very primitive and it only
really solves enough of the problem to produce workable output for
lto1.

Type gimplification would ideally be done independently of LTO.  It is
likely going to be a lot of work, as it has similar representation
issues as tuples and it also has major debugging issues to address.
Kenny had started working on this a couple of months ago, but I don't
know what the status of that work is.


Diego.


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