gcc/gcc/fortran
Fritz Reese c39747d24b Fix ICE for maps with zero components.
2016-09-30  Fritz Reese  <fritzoreese@gmail.com>

Fix ICE for maps with zero components.

	PR fortran/77764
	* gcc/fortran/interface.c (gfc_compare_union_types): Null-guard map
	components.

	PR fortran/77764
	* gcc/testsuite/gfortran.dg/dec_union_8.f90: New testcase.

From-SVN: r240652
2016-09-30 11:42:31 +00:00
..
ChangeLog Fix ICE for maps with zero components. 2016-09-30 11:42:31 +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.ptr
Make-lang.in
arith.c Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
arith.h
array.c re PR fortran/77506 (F2008 Standard does not allow CHARACTER(LEN=*) in array constructor) 2016-09-09 18:04:23 +00:00
bbt.c
check.c Replace KISS PRNG with xorshift1024* using per-thread state. 2016-08-11 11:58:55 +03:00
class.c re PR fortran/71862 (ICE in gfc_add_component_ref, at fortran/class.c:241) 2016-07-26 22:42:49 +00:00
config-lang.in
constructor.c
constructor.h
convert.c
cpp.c
cpp.h
data.c
data.h
decl.c lang.opt, [...]: New flag -fdec-static. 2016-09-23 21:06:18 +00:00
dependency.c auto-inc-dec.c (try_merge): Remove break after return. 2016-09-27 20:14:10 +02:00
dependency.h
dump-parse-tree.c frontend-passes.c (create_var): Set ts.deferred for deferred-length character variables. 2016-08-15 19:34:48 +00:00
error.c Allow calling diagnostic_show_locus without a diagnostic_info 2016-08-18 19:12:54 +00:00
expr.c libcaf.h: Add caf_reference_type. 2016-09-19 15:45:40 +02:00
f95-lang.c re PR fortran/71687 (ICE in omp_add_variable, at gimplify.c:5821) 2016-07-01 22:52:54 +02:00
frontend-passes.c auto-inc-dec.c (try_merge): Remove break after return. 2016-09-27 20:14:10 +02:00
gfc-diagnostic.def
gfc-internals.texi
gfortran.h lang.opt, [...]: New flag -fdec-static. 2016-09-23 21:06:18 +00:00
gfortran.texi lang.opt, [...]: New flag -fdec-static. 2016-09-23 21:06:18 +00:00
gfortranspec.c
interface.c Fix ICE for maps with zero components. 2016-09-30 11:42:31 +00:00
intrinsic.c re PR fortran/77507 (gfortran rejects keyworded calls to procedures from intrinsic modules) 2016-09-09 17:57:11 +00:00
intrinsic.h
intrinsic.texi Use a XOR cipher instead of byte shuffling to protect against bad seeds. 2016-08-19 17:19:51 +03:00
invoke.texi lang.opt, [...]: New flag -fdec-static. 2016-09-23 21:06:18 +00:00
io.c re PR fortran/48298 ([F03] User-Defined Derived-Type IO (DTIO)) 2016-09-23 20:36:21 +00:00
ioparm.def re PR fortran/48298 ([F03] User-Defined Derived-Type IO (DTIO)) 2016-09-23 20:36:21 +00:00
iresolve.c
iso-c-binding.def Implement C _FloatN, _FloatNx types. 2016-08-19 18:43:26 +01:00
iso-fortran-env.def
lang-specs.h
lang.opt lang.opt, [...]: New flag -fdec-static. 2016-09-23 21:06:18 +00:00
libgfortran.h re PR fortran/48298 ([F03] User-Defined Derived-Type IO (DTIO)) 2016-09-23 20:36:21 +00:00
match.c [multiple changes] 2016-08-31 05:36:22 +00:00
match.h lang.opt, [...]: New flag -fdec-static. 2016-09-23 21:06:18 +00:00
matchexp.c
mathbuiltins.def
misc.c re PR fortran/56226 (Add support for DEC UNION and MAP extensions) 2016-05-07 23:16:23 +00:00
module.c re PR fortran/77420 (gfortran and equivalence produces internal compiler error) 2016-09-13 17:00:29 +00:00
openmp.c re PR fortran/77374 (ICE in resolve_omp_atomic, at fortran/openmp.c:3949) 2016-08-31 20:42:08 +02:00
options.c [Patch] Remove all uses of TARGET_FLT_EVAL_METHOD_NON_DEFAULT and poison it 2016-09-29 08:41:34 +00:00
parse.c Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
parse.h re PR fortran/56226 (Add support for DEC UNION and MAP extensions) 2016-05-07 23:16:23 +00:00
primary.c Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
resolve.c lang.opt, [...]: New flag -fdec-static. 2016-09-23 21:06:18 +00:00
scanner.c re PR fortran/71686 (ICE on broken character continuation) 2016-06-29 18:48:37 +00:00
scanner.h
simplify.c simplify.c (gfc_simplify_repeat): Fix a misplaced closing ')'. 2016-09-14 18:04:39 +00:00
st.c
symbol.c auto-inc-dec.c (try_merge): Remove break after return. 2016-09-27 20:14:10 +02:00
target-memory.c re PR fortran/41922 (Diagnostic: No location shown for overlappingly initialized EQUIVALENCEd character vars) 2016-07-31 01:51:37 +00:00
target-memory.h re PR fortran/41922 (Diagnostic: No location shown for overlappingly initialized EQUIVALENCEd character vars) 2016-07-31 01:51:37 +00:00
trans-array.c trans-array.c (gfc_array_allocate): Use the token from coarray's .token member. 2016-09-30 12:20:59 +02:00
trans-array.h
trans-common.c re PR fortran/77420 (gfortran and equivalence produces internal compiler error) 2016-09-26 18:44:36 +00:00
trans-const.c
trans-const.h
trans-decl.c lang.opt, [...]: New flag -fdec-static. 2016-09-23 21:06:18 +00:00
trans-expr.c Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
trans-intrinsic.c trans-array.c (gfc_array_allocate): Use the token from coarray's .token member. 2016-09-30 12:20:59 +02:00
trans-io.c Implement -Wimplicit-fallthrough. 2016-09-26 09:42:50 +00:00
trans-openmp.c re PR fortran/77666 (ICE in gfc_omp_clause_default_ctor, at fortran/trans-openmp.c:471) 2016-09-27 09:52:28 +02:00
trans-stmt.c libcaf.h: Add caf_reference_type. 2016-09-19 15:45:40 +02:00
trans-stmt.h
trans-types.c trans-array.c (gfc_array_allocate): Use the token from coarray's .token member. 2016-09-30 12:20:59 +02:00
trans-types.h libcaf.h: Add caf_reference_type. 2016-09-19 15:45:40 +02:00
trans.c libcaf.h: Add caf_reference_type. 2016-09-19 15:45:40 +02:00
trans.h libcaf.h: Add caf_reference_type. 2016-09-19 15:45:40 +02:00
types.def