This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/17872] gfortran accepts 255_1 as integer constant
- 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: 23 Oct 2006 19:07:35 -0000
- Subject: [Bug fortran/17872] gfortran accepts 255_1 as integer constant
- References: <bug-17872-8513@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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