[Bug fortran/33544] [4.3 only] Warning in TRANSFER intrinsic should be made optional

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 27 12:27:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list