check.c (gfc_check_int): improve checking of optional kind
authorSteven G. Kargl <kargls@comcast.net>
Sat, 19 Feb 2005 20:07:47 +0000 (20:07 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 19 Feb 2005 20:07:47 +0000 (20:07 +0000)
commitc60d77d4db7aec48e2fb0997400c4d1177b726aa
tree46ab6a34befac7343839d934610e531bf1570828
parent04c90eea0779dd173baa01b96aed683fec326207
check.c (gfc_check_int): improve checking of optional kind

* check.c (gfc_check_int): improve checking of optional kind
* simplify.c (gfc_simplify_int): Change BT_REAL to BT_INTEGER

* gfortran.dg/int_1.f90: New test.

From-SVN: r95290
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/int_1.f90 [new file with mode: 0644]