This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/44359] -Wall / -Wconversion: Too verbose warning for DATA BOZ conversions



------- Comment #2 from dfranke at gcc dot gnu dot org  2010-06-01 20:43 -------
(In reply to comment #1)
>     http://gcc.gnu.org/ml/fortran/2010-05/msg00229.html

With this patch:

$> gfortran-svn -Wall pr44359.f90
[no warning]

$> gfortran-svn -Wall -fno-range-check pr44359.f90
pr44359.f90:3.34:

  DATA  a  /  Z'F'  /,  b  /  Z'3'  /
                                  1
Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4)
at (1)
pr44359.f90:3.18:

  DATA  a  /  Z'F'  /,  b  /  Z'3'  /
                  1
Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4)
at (1)


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-06-01 20:43:41
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44359


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]