This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/64927] [4.8 Regression] Surprising error with -Wsurprising (-Wall) and TRANSFER + C_ASSOCIATED
- 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: Fri, 13 Feb 2015 14:53:38 +0000
- Subject: [Bug fortran/64927] [4.8 Regression] Surprising error with -Wsurprising (-Wall) and TRANSFER + C_ASSOCIATED
- Auto-submitted: auto-generated
- References: <bug-64927-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64927
--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> After Dominique pointed out a range of revisions where the
> bug disappeared in the 4.9 branch, I browsed through the list
> of svn log messages. However, all fortran-related commits that
> looked interesting to me (some of them TRANSFER related) appeared
> to have backports to the 4.8 branch. Maybe I was not careful enough.
AFAICT r198000 (pr56969) has not been back ported. The patch is almost trivial.
If you don't beat me, I may find the motivation to do some testing during the
weekend.
> My reasoning is based on the observation that Tobias Burnus
> just closed PR64474 as WONTFIX for the similar reason:
> 4.9 and 5 don't have the resp. bug, all 4.8.x have.
Well, at the same time Bernd Edlinger closed pr60718 as FIXED while the problem
is still present in versions 4.8 and 4.9. The problem is that 'WONTFIX for
version m, FIXED for version n>m' cannot be encoded in the Status field. My
decision rule is the following:
WONTFIX: the issue is present in version m and will be present in any version
n>m.
This typically used for extension or diagnostic requests.
FIXED: the issue is present in version m, has been fixed in version n, and will
be absent in any version p>=n (otherwise it will be a regression).
This is the default rule when a PR is not a regression.