diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2016-10-05 16:32:24 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2016-10-05 16:32:24 +0000 |
commit | a40278c3e39a5ef2a35a0f8c4e6ce359c9af9832 (patch) | |
tree | e9f55a185d17abdba2cce6a575f56a47f70d5f69 /gcc | |
parent | 73e1414cb829d02baef1bf241d4bdf3805f6f724 (diff) | |
download | gcc-a40278c3e39a5ef2a35a0f8c4e6ce359c9af9832.zip gcc-a40278c3e39a5ef2a35a0f8c4e6ce359c9af9832.tar.gz gcc-a40278c3e39a5ef2a35a0f8c4e6ce359c9af9832.tar.bz2 |
re PR libfortran/77868 (Fail to NULL guard check for internal unit in inquire_via_unit)
2016-10-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/77868
* io/inquire.c (inquire_via_unit): NULL guard the check for
internal unit passed into child IO procedure.
* gfortran.dg/dtio_15.f90: Fix spaces in dg-do.
* gfortran.dg/class_array_20.f03: Likewise.
* gfortran.dg/class_array_21.f03: Likewise.
* gfortran.dg/finalize_29.f08: Likewise.
* gfortran.dg/unlimited_polymorphic_23.f90: Likewise.
From-SVN: r240794
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/class_array_20.f03 | 2 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/class_array_21.f03 | 2 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/dtio_15.f90 | 2 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/finalize_29.f08 | 2 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/unlimited_polymorphic_23.f90 | 2 |
6 files changed, 13 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fa1f310..947e84c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2016-10-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + * gfortran.dg/dtio_15.f90: Fix spaces in dg-do. + * gfortran.dg/class_array_20.f03: Likewise. + * gfortran.dg/class_array_21.f03: Likewise. + * gfortran.dg/finalize_29.f08: Likewise. + * gfortran.dg/unlimited_polymorphic_23.f90: Likewise. + 2016-10-05 Richard Biener <rguenther@suse.de> PR middle-end/77826 diff --git a/gcc/testsuite/gfortran.dg/class_array_20.f03 b/gcc/testsuite/gfortran.dg/class_array_20.f03 index c49f7d2..b4be045 100644 --- a/gcc/testsuite/gfortran.dg/class_array_20.f03 +++ b/gcc/testsuite/gfortran.dg/class_array_20.f03 @@ -1,4 +1,4 @@ -! {dg-do run} +! { dg-do run } ! ! Test contributed by Thomas L. Clune via pr60322 ! and Antony Lewis via pr64692 diff --git a/gcc/testsuite/gfortran.dg/class_array_21.f03 b/gcc/testsuite/gfortran.dg/class_array_21.f03 index 1e89d38..ed03ed8 100644 --- a/gcc/testsuite/gfortran.dg/class_array_21.f03 +++ b/gcc/testsuite/gfortran.dg/class_array_21.f03 @@ -1,4 +1,4 @@ -! {dg-do run} +! { dg-do run } ! ! Contributed by Andre Vehreschild ! Check more elaborate class array addressing. diff --git a/gcc/testsuite/gfortran.dg/dtio_15.f90 b/gcc/testsuite/gfortran.dg/dtio_15.f90 index 040bb3e..776f442 100644 --- a/gcc/testsuite/gfortran.dg/dtio_15.f90 +++ b/gcc/testsuite/gfortran.dg/dtio_15.f90 @@ -1,4 +1,4 @@ -! {dg-do run } +! { dg-do run } ! Test that inquire of string internal unit in child process errors. module string_m implicit none diff --git a/gcc/testsuite/gfortran.dg/finalize_29.f08 b/gcc/testsuite/gfortran.dg/finalize_29.f08 index 1f5f742..9640f4f 100644 --- a/gcc/testsuite/gfortran.dg/finalize_29.f08 +++ b/gcc/testsuite/gfortran.dg/finalize_29.f08 @@ -1,4 +1,4 @@ -! {dg-do run} +! { dg-do run } ! ! Testcase contributed by Andre Vehreschild <vehre@gcc.gnu.org> diff --git a/gcc/testsuite/gfortran.dg/unlimited_polymorphic_23.f90 b/gcc/testsuite/gfortran.dg/unlimited_polymorphic_23.f90 index 27eff31..99b5f6b 100644 --- a/gcc/testsuite/gfortran.dg/unlimited_polymorphic_23.f90 +++ b/gcc/testsuite/gfortran.dg/unlimited_polymorphic_23.f90 @@ -1,4 +1,4 @@ -! {dg-do run } +! { dg-do run } ! ! Test the fix for PR65024, in which the structure for the 'info' ! component of type 'T' was not being converted into TREE_SSA and |