This is the mail archive of the gcc@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: Using LTO-enabled libgfortran


On August 16, 2016 7:11:26 PM GMT+02:00, Thomas Koenig <tkoenig@netcologne.de> wrote:
>What would it take to use an LTO-enabled version of gfortran?
>
>It could turn out to be quite useful for speeding up programs,
>especially where I/O or array intrinsics are used.
>
>I also expect many issues to surface where libgfortran is
>playing with types in a way that could break LTO, so I
>would not expect this to be an easy thing.
>
>So, ideas anybody?  I don't think any other library included
>with gcc does this, correct?

Correct.  My advice is to simply try.  Note this will work only for static libgfortran.  Also note that since the LTO option scheme changed to preserve compile-time optimization and target attributes LTOing libgfortran will be less useful than before (you won't get any advantage from extra available ISAs).

Richard.

>Regards
>
>	Thomas



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