summaryrefslogtreecommitdiff
path: root/libjava/java/sql/SQLData.h
diff options
context:
space:
mode:
authorSteven G. Kargl <kargl@gcc.gnu.org>2015-10-19 18:15:36 +0000
committerSteven G. Kargl <kargl@gcc.gnu.org>2015-10-19 18:15:36 +0000
commitbb90d90fa83b99634d7790beddf5043b5d7a776b (patch)
treee8c2146a532da4edd66d1a724b3bbe3a4c9cde0e /libjava/java/sql/SQLData.h
parente088d146d84a857b415c3564aae2ee1b48607e47 (diff)
re PR fortran/67987 (ICE on declaring and initializing character with negative len)
2015-10-19 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/67987 * decl.c (char_len_param_value): Unwrap unlong line. If LEN < 0, force it to zero per the Fortran 90, 95, 2003, and 2008 Standards. * resolve.c (gfc_resolve_substring_charlen): Unwrap unlong line. If 'start' is larger than 'end', length of substring is negative, so explicitly set it to zero. (resolve_charlen): Remove -Wsurprising warning. Update comment to reflect that the text is from the F2008 standard. 2015-10-19 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/67987 * gfortran.df/pr67987.f90: New test. * gfortran.dg/char_length_2.f90: Update testcase. From-SVN: r228999
Diffstat (limited to 'libjava/java/sql/SQLData.h')
0 files changed, 0 insertions, 0 deletions