This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [trunk][patch] Remove unnecessary calls to assemble_external
- From: Rafael Espindola <espindola at google dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Diego Novillo <dnovillo at google dot com>
- Date: Thu, 2 Apr 2009 13:07:50 +0100
- Subject: Re: [trunk][patch] Remove unnecessary calls to assemble_external
- References: <38a0d8450904020050j4726142fi947e60beaab22df3@mail.gmail.com>
2009/4/2 Rafael Espindola <espindola@google.com>:
> Tested with a bootstrap and a regression test on linux 86-64.
> Currently testing on darwin ppc.
> OK for trunk if both are OK?
The context for this is similar to the other patches I am posting:
Something that is needed for LTO but might also be considered a nice
cleanup for trunk.
In this case, it is just avoids calling assemble_external from the FE.
>From LTO's perspective it is necessary that all external references be
visible in the IL (which makes the FE assembling them redundant). For
trunk, this is good just a better separation of FE and BE.
Cheers,
--
Rafael Avila de Espindola
Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047