This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/68717] [6/7 Regression] New (bogus?) warnings when compiling some gfortran.dg tests with -flto after r231239
- 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, 08 May 2016 11:04:17 +0000
- Subject: [Bug fortran/68717] [6/7 Regression] New (bogus?) warnings when compiling some gfortran.dg tests with -flto after r231239
- Auto-submitted: auto-generated
- References: <bug-68717-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68717
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> As discussed in the other related PR, those are real issues - Fortran
> fronetnd should not declare one function with multiple and incompatible
> declarations.
The other related PR is pr68649.
The note: "code may be misoptimized unless -fno-strict-aliasing is used" looks
odd as the warnings are still there if one uses -fno-strict-aliasing as it was
the case before r231239.