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/17872] gfortran accepts 255_1 as integer constant



------- Comment #2 from fxcoudert at gcc dot gnu dot org  2006-10-23 19:07 -------
Fixed on 4.2 branch and probably earlier:

 In file a.f90:1

integer*1 :: i1 = 255_1
                      1
Error: Integer too big for its kind at (1)
 In file a.f90:2

integer*2 :: i2 = 65535_2
                        1
Error: Integer too big for its kind at (1)


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.0


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


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