This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33544] [4.3 only] Warning in TRANSFER intrinsic should be made optional
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Sep 2007 12:27:35 -0000
- Subject: [Bug fortran/33544] [4.3 only] Warning in TRANSFER intrinsic should be made optional
- References: <bug-33544-14284@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from fxcoudert at gcc dot gnu dot org 2007-09-27 12:27 -------
(In reply to comment #7)
> It doesn't matter if it's bad coding (which I can agree).
> AFAIK, the standard says the code is legal.
After reading the standard, I concur. I think a warning option should be added,
maybe -Wshort-transfer, maybe -Wsurprising...
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fxcoudert at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2007-09-27 12:27:35
date| |
Summary|Spurious warning in TRANSFER|[4.3 only] Warning in
|intrinsic in Sept 24 |TRANSFER intrinsic should be
|snapshot of gfortran |made optional
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33544