8sa1-gcc/gcc/fortran
Tobias Burnus f48bffe70c Fortran: Fix character-kind=4 substring resolution (PR95837)
Testing showed that it is always set and its value matches
always ts->kind (if available) or otherwise, if it is a variable,
the sym->ts.kind.

gcc/fortran/ChangeLog:

	PR fortran/95837
	* resolve.c (gfc_resolve_substring_charlen): Remove
	bogus ts.kind setting for the expression.

gcc/testsuite/ChangeLog:

	PR fortran/95837
	* gfortran.dg/char4-subscript.f90: New test.
2020-06-25 16:57:08 +02:00
..
arith.c Fortran : Missing gcc-internal-format PR42693 2020-06-22 11:46:52 +01:00
arith.h
array.c
bbt.c
ChangeLog Daily bump. 2020-06-25 00:16:30 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog.ptr
check.c Fortran : ICE in gfc_check_reshape PR95585 2020-06-22 13:14:44 +01:00
class.c PR fortran/95687 - ICE in get_unique_hashed_string, at fortran/class.c:508 2020-06-20 16:11:48 +02:00
config-lang.in
constructor.c
constructor.h
convert.c
cpp.c
cpp.h
data.c
data.h
decl.c Fortran : ICE in gfc_validate_kind PR95586 2020-06-23 07:07:23 +01:00
dependency.c Handle AR_FULL vs. AR_FULL in dependency checking. 2020-06-23 08:14:51 +02:00
dependency.h
dump-parse-tree.c
error.c
expr.c
f95-lang.c
frontend-passes.c
gfc-diagnostic.def
gfc-internals.texi
gfortran.h PR fortran/95707 - ICE in finish_equivalences, at fortran/trans-common.c:1319 2020-06-20 16:15:16 +02:00
gfortran.texi
gfortranspec.c
interface.c PR fortran/95689 - ICE in check_sym_interfaces, at fortran/interface.c:2015 2020-06-20 16:09:45 +02:00
intrinsic.c Fortran : ICE in resolve_fl_procedure PR95708 2020-06-22 16:28:55 +01:00
intrinsic.h
intrinsic.texi
invoke.texi
io.c
ioparm.def
iresolve.c PR fortran/95827 - Buffer overflows with submodules and coarrays 2020-06-24 21:03:47 +02:00
iso-c-binding.def
iso-fortran-env.def
lang-specs.h
lang.opt
libgfortran.h
Make-lang.in
match.c PR fortran/95587 - ICE in gfc_target_encode_expr, at fortran/target-memory.c:362 2020-06-20 16:05:13 +02:00
match.h
matchexp.c
mathbuiltins.def
misc.c
module.c
openmp.c OpenMP/Fortran: Reject allocatable components in map clause 2020-06-18 15:27:30 +02:00
options.c
parse.c
parse.h
primary.c
resolve.c Fortran: Fix character-kind=4 substring resolution (PR95837) 2020-06-25 16:57:08 +02:00
scanner.c
scanner.h
simplify.c
st.c
symbol.c
target-memory.c
target-memory.h
trans-array.c
trans-array.h
trans-common.c PR fortran/95707 - ICE in finish_equivalences, at fortran/trans-common.c:1319 2020-06-20 16:15:16 +02:00
trans-const.c
trans-const.h
trans-decl.c
trans-expr.c
trans-intrinsic.c
trans-io.c
trans-openmp.c fortran: Fix ICE when 'if' clause used with 'target parallel' (PR95869) 2020-06-25 06:09:40 -07:00
trans-stmt.c
trans-stmt.h
trans-types.c
trans-types.h
trans.c
trans.h
trigd_fe.inc
types.def