This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: lto optimization
- From: Oleg Endo <oleg dot endo at t-online dot de>
- To: Aurelien Buhrig <aurelien dot buhrig dot gcc at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 04 May 2016 21:29:22 +0900
- Subject: Re: lto optimization
- Authentication-results: sourceware.org; auth=none
- References: <CAJ-J9_VjSedL3zTuwRHm6c31JDOZUO_EKK4bPRpRGp3GAoZZeg at mail dot gmail dot com> <1462361488 dot 23746 dot 15 dot camel at t-online dot de> <CAJ-J9_W8mWSrK9mzKh=acMNjmV8CEzi8bd6OjVBrAKJrS3asCw at mail dot gmail dot com>
On Wed, 2016-05-04 at 14:24 +0200, Aurelien Buhrig wrote:
> Thanks for your reply.
> lto pass is correctly done. Maybe I would try upgrading the backend
> to
> a newer version, but it is a quite important workload...
LTO works almost in a target independent way. You can try using a
newer GCC version for a public target and see if it gives you the
desired result. If so, upgrading might be a good alternative. Often
you can just copy-paste your backend without major changes. Unless of
course changes to other parts of the compiler have been made.
Cheers,
Oleg