2006-09-07 Steven G. Kargl <kargls@comcast.net>
commit598b108ab505cab08f19246cc31243e0a73c1082
authorkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Sep 2006 16:48:18 +0000 (7 16:48 +0000)
committerkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Sep 2006 16:48:18 +0000 (7 16:48 +0000)
tree4f1d503f946ad196afc135214a5ab73b0196136d
parenteb00282b65f09ea3496edca2ba1ed36f1a7202ff
2006-09-07  Steven G. Kargl  <kargls@comcast.net>

* gfortran.fortran-torture/compile/data_1.f90: Fix integer oveflow
in integer literal constant.
   * gfortran.dg/enum_8.f90: Ditto.
* gfortran.dg/g77/20030326-1.f: Ditto.

2006-09-07  Steven G. Kargl  <kargls@comcast.net>

* gfortran.h (gfc_integer_info): Eliminate max_int.
* arith.c (gfc_arith_init_1): Remove initialization of max_int.
(gfc_arith_done_1): Remove clearing of max_int.
(gfc_check_integer_range): Fix range chekcing of overflow.
* simplify.c (gfc_simplify_not): Construct mask that was max_int.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116753 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/arith.c
gcc/fortran/gfortran.h
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/enum_8.f90
gcc/testsuite/gfortran.dg/g77/20030326-1.f
gcc/testsuite/gfortran.fortran-torture/compile/data_1.f90