re PR fortran/85111 (ICE in min_max_choose, at fortran/simplify.c:4884 (and others))
authorThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 30 Mar 2018 09:58:35 +0000 (09:58 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 30 Mar 2018 09:58:35 +0000 (09:58 +0000)
2017-03-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/85111
* array.c (gfc_resolve_character_array_constructor): Early
exit for zero-size arrays.
* simplify.c (simplify_transformation_to_array): Exit early
if the result size is zero.
(simplify_minmaxloc_to_array): Likewise.

2017-03-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/85111
* gfortran.dg/zero_sized_10.f90: New test.

Add ChangeLog entries for r258973.

From-SVN: r258974

gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog

index 9c13ff060c3cc502078c28f661a4fe939a42be39..25c3f169fcd7f423e8f4e3c5ddce9d1dd60c91c7 100644 (file)
@@ -1,3 +1,12 @@
+2017-03-30  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       PR fortran/85111
+       * array.c (gfc_resolve_character_array_constructor): Early
+       exit for zero-size arrays.
+       * simplify.c (simplify_transformation_to_array): Exit early
+       if the result size is zero.
+       (simplify_minmaxloc_to_array): Likewise.
+
 2018-03-28  Mikael Morin  <mikael@gcc.gnu.org>
 
        PR fortran/69497
index a8906ddbc98825f2b122ff223ce9b2060a3cc476..0bbefba5e2100a909518fa81e92953bb2ba693c0 100644 (file)
@@ -1,3 +1,8 @@
+2017-03-30  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       PR fortran/85111
+       * gfortran.dg/zero_sized_10.f90: New test.
+
 2018-03-29  David Malcolm  <dmalcolm@redhat.com>
 
        PR c++/84269