2007-01-28 Thomas Koenig <Thomas.Koenig@online.de>
commit4dd9a77f3b73c418225e8a10506ad5ccf72d5069
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Jan 2007 10:44:47 +0000 (28 10:44 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Jan 2007 10:44:47 +0000 (28 10:44 +0000)
treecd42fe24f3db509640f6eaed63735f26f868c062
parent981eb79841b74e439cb66e6f6bf2f0abdf7524b5
2007-01-28  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/30389
* gfortran.h:  Remove gfc_simplify_init_1.
* arith.h:  Remove third argument from gfc_compare_string.
* arith.c(gfc_compare_expression):  Remove third argument
from call to gfc_compare_string.
(gfc_compare_string):  Remove third argument xcoll_table.
Remove use of xcoll_table.
* misc.c(gfc_init_1):  Remove call to gfc_simplify_init_1.
* simplify.c(ascii_table):  Remove.
(xascii_table): Likewise.
(gfc_simplify_achar):  ICE if extract_int fails.  Remove use of
ascii_table.  Warn if -Wsurprising and value < 0 or > 127.
(gfc_simplify_char):  ICE if extract_int fails. Error if
value < 0 or value > 255.
(gfc_simplify_iachar):  Remove use of xascii_table.
Char values outside of 0..255 are an ICE.
(gfc_simplify_lge):  Remove use of xascii_table.
(gfc_simplify_lgt):  Likewise.
(gfc_simplify_lle):  Likewise.
(gfc_simplify_llt):  Likewise.
(invert_table):  Remove.
(gfc_simplify_init_1):  Remove.

2007-01-28  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/30389
* gfortran.dg/achar_2.f90:  New test.
* gfortran.dg/achar_3.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121255 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/arith.c
gcc/fortran/arith.h
gcc/fortran/gfortran.h
gcc/fortran/misc.c
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/achar_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/achar_3.f90 [new file with mode: 0644]