8sa1-gcc/gcc/fortran
Thomas Koenig 5958b926dc Use CHARACTER(kind) string for calculating the type hash.
This regression came about because of a change in the way
types are displayed in error messages.  The character
representation is also used to calculate the hashes for
our types, so this patch restores the old behavior if
we are indeed calculating a hash.

The test case also checks for the specific hash value because
changing that would be an ABI change, which we should not
be doing unintentionally.

gcc/fortran/ChangeLog:

2020-06-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/95355
	* gfortran.h (gfc_typename): Add optional argument for_hash.
	* misc.c (gfc_typename): When for_hash is true, just retur
	  CHARACTER(kind).
	* class.c (gfc_intrinsic_hash_value): Call gfc_typename with
	  for_hash = true.
2020-06-30 13:10:20 +02:00
..
arith.c Fortran : Missing gcc-internal-format PR42693 2020-06-22 11:46:52 +01:00
arith.h Update copyright years. 2020-01-01 12:51:42 +01:00
array.c PR fortran/93364 - ICE in gfc_set_array_spec, at fortran/array.c:879 2020-04-20 14:20:19 +02:00
bbt.c Update copyright years. 2020-01-01 12:51:42 +01:00
ChangeLog Daily bump. 2020-06-30 09:02:21 +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 gcc.c (process_command): Update copyright notice dates. 2020-01-01 12:14:37 +01:00
ChangeLog.ptr
check.c Fortran : ICE in gfc_check_reshape PR95585 2020-06-22 13:14:44 +01:00
class.c Use CHARACTER(kind) string for calculating the type hash. 2020-06-30 13:10:20 +02:00
config-lang.in Update copyright years. 2020-01-01 12:51:42 +01:00
constructor.c Update copyright years. 2020-01-01 12:51:42 +01:00
constructor.h Update copyright years. 2020-01-01 12:51:42 +01:00
convert.c Update copyright years. 2020-01-01 12:51:42 +01:00
cpp.c [OpenACC] bump version for 2.6 plus libgomp.texi update 2020-02-03 10:10:37 +01:00
cpp.h Update copyright years. 2020-01-01 12:51:42 +01:00
data.c Update copyright years. 2020-01-01 12:51:42 +01:00
data.h Update copyright years. 2020-01-01 12:51:42 +01:00
decl.c PR fortran/95978 - ICE in gfc_match_data, at fortran/decl.c:731 2020-06-29 23:20:53 +02:00
dependency.c Handle AR_FULL vs. AR_FULL in dependency checking. 2020-06-23 08:14:51 +02:00
dependency.h Update copyright years. 2020-01-01 12:51:42 +01:00
dump-parse-tree.c Avoid crash when global symbol table is empty with -fdump-fortran-global. 2020-06-14 17:38:31 +02:00
error.c Update copyright years. 2020-01-01 12:51:42 +01:00
expr.c PR fortran/95503 - Fix ICE in gfc_is_simply_contiguous, at fortran/expr.c:5844 2020-06-11 15:48:56 +02:00
f95-lang.c [OpenMP] Fix mapping of artificial variables (PR94874) 2020-06-03 12:30:04 +02:00
frontend-passes.c Fix up duplicated duplicated words mostly in comments 2020-03-17 13:52:19 +01:00
gfc-diagnostic.def Update copyright years. 2020-01-01 12:51:42 +01:00
gfc-internals.texi gcc.c (process_command): Update copyright notice dates. 2020-01-01 12:14:37 +01:00
gfortran.h Use CHARACTER(kind) string for calculating the type hash. 2020-06-30 13:10:20 +02:00
gfortran.texi [OpenACC] bump version for 2.6 plus libgomp.texi update 2020-02-03 10:10:37 +01:00
gfortranspec.c Update copyright years. 2020-01-01 12:51:42 +01:00
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 Fix PR fortran/93871 and re-implement degree-valued trigonometric intrinsics. 2020-04-07 13:18:38 -04:00
intrinsic.texi Fix typo: paramter -> parameter [PR93864] 2020-02-25 09:02:57 +01:00
invoke.texi [OpenACC] bump version for 2.6 plus libgomp.texi update 2020-02-03 10:10:37 +01:00
io.c fortran/io.c: Fix use of uninitialized variable num [PR94769] 2020-04-29 16:37:18 +02:00
ioparm.def Update copyright years. 2020-01-01 12:51:42 +01:00
iresolve.c PR fortran/95827 - Buffer overflows with submodules and coarrays 2020-06-24 21:03:47 +02:00
iso-c-binding.def Update copyright years. 2020-01-01 12:51:42 +01:00
iso-fortran-env.def Update copyright years. 2020-01-01 12:51:42 +01:00
lang-specs.h Update copyright years. 2020-01-01 12:51:42 +01:00
lang.opt driver: Fix redundant descriptions in options 2020-03-15 08:59:24 -04:00
libgfortran.h Fixes a hang on an invalid ID in a WAIT statement. 2020-05-23 19:01:43 +02:00
Make-lang.in Update copyright years. 2020-01-01 12:51:42 +01:00
match.c PR fortran/95340 - ICE in gfc_match_select_rank, at fortran/match.c:6690 2020-06-28 16:24:15 +02:00
match.h Update copyright years. 2020-01-01 12:51:42 +01:00
matchexp.c Update copyright years. 2020-01-01 12:51:42 +01:00
mathbuiltins.def Update copyright years. 2020-01-01 12:51:42 +01:00
misc.c Use CHARACTER(kind) string for calculating the type hash. 2020-06-30 13:10:20 +02:00
module.c [Fortran] Fix name conflict check for use-assoc (PR 92736) 2020-04-14 13:57:52 +02:00
openmp.c OpenMP/Fortran: Reject allocatable components in map clause 2020-06-18 15:27:30 +02:00
options.c revamp dump and aux output names 2020-05-26 04:30:15 -03:00
parse.c OpenACC/Fortran: permit 'routine' inside PURE 2020-06-16 20:23:58 +02:00
parse.h Update copyright years. 2020-01-01 12:51:42 +01:00
primary.c PR fortran/95373 - ICE in build_reference_type, at tree.c:7942 2020-05-30 20:59:41 +02:00
resolve.c PR fortran/95881 - ICE in resolve_symbol, at fortran/resolve.c:15175 2020-06-27 14:57:28 +02:00
scanner.c [Fortran] Truncate warn with OpenMP/OpenACC/!GCC$ (PR94709) 2020-04-22 14:07:55 +02:00
scanner.h Update copyright years. 2020-01-01 12:51:42 +01:00
simplify.c For assumed-size arrays check if the reference is to a full array. 2020-04-22 18:20:26 +02:00
st.c Update copyright years. 2020-01-01 12:51:42 +01:00
symbol.c PR fortran/95880 - ICE in gfc_add_type, at fortran/symbol.c:2030 2020-06-28 13:52:51 +02:00
target-memory.c Update copyright years. 2020-01-01 12:51:42 +01:00
target-memory.h Update copyright years. 2020-01-01 12:51:42 +01:00
trans-array.c PR95331 - Unlimited polymorphic arrays have wrong bounds. 2020-06-11 15:16:37 +02:00
trans-array.h Update copyright years. 2020-01-01 12:51:42 +01:00
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 Update copyright years. 2020-01-01 12:51:42 +01:00
trans-const.h Update copyright years. 2020-01-01 12:51:42 +01:00
trans-decl.c Do not generate recursion check for compiler-generated procedures. 2020-06-29 23:11:30 +02:00
trans-expr.c Patch to Bug 94022 - Array slices of assumed-size arrays. 2020-06-11 13:25:59 +02:00
trans-intrinsic.c Fix PR fortran/93871 and re-implement degree-valued trigonometric intrinsics. 2020-04-07 13:18:38 -04:00
trans-io.c Update copyright years. 2020-01-01 12:51:42 +01:00
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 PR fortran/71706 - ICE on using sync images with -fcheck=bounds 2020-06-29 15:15:49 +02:00
trans-stmt.h Update copyright years. 2020-01-01 12:51:42 +01:00
trans-types.c PR fortran/95089 - ICE in gfc_get_derived_type, at fortran/trans-types.c:2843 2020-05-26 21:19:19 +02:00
trans-types.h Update copyright years. 2020-01-01 12:51:42 +01:00
trans.c Update copyright years. 2020-01-01 12:51:42 +01:00
trans.h [OpenMP] Fix mapping of artificial variables (PR94874) 2020-06-03 12:30:04 +02:00
trigd_fe.inc Protect the trigd functions in libgfortran from unavailable math functions. 2020-04-23 10:11:01 -04:00
types.def Update copyright years. 2020-01-01 12:51:42 +01:00