This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/68358] Some tests in gfortran.dg fail when compiled with '-g -flto' and Xcode 7
- 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: Tue, 24 Nov 2015 17:27:44 +0000
- Subject: [Bug fortran/68358] Some tests in gfortran.dg fail when compiled with '-g -flto' and Xcode 7
- Auto-submitted: auto-generated
- References: <bug-68358-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68358
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> We are getting a similar issue while linking a program with GCC and
> without '-flto' switch. We enable 'lto' when configuring languages,
> which in turn enables post ld processing inside collect2. This was done
> as part of the bug #61352 patch.
I am not sure to understand the comment. Do you mean that your build is
configured to use '-flto' by default? Do you have a non-fortran reproducer? If
yes, could you please post it?