This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/77278] Use LTO for libgfortran
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 21 Aug 2016 11:09:12 +0000
- Subject: [Bug libfortran/77278] Use LTO for libgfortran
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-77278-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77278
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> This led to error messages like
>
> lto1: warning: type of '_gfortran_st_write' does not match original
> declaration [-Wlto-type-mismatch] ../../../trunk/libgfortran/io/transfer.c:3746:1:
> note: 'st_write' was previously declared here
> ../../../trunk/libgfortran/io/transfer.c:3746:1: note: code may be
> misoptimized unless -fno-strict-aliasing is used
>
> so there is likely work to do on the library side and on the LTO side.
This looks like pr68649 and pr68717.