Index: gcc/gcc/testsuite/gfortran.dg/proc_assign_1.f90 |
diff --git a/gcc/gcc/testsuite/gfortran.dg/proc_assign_1.f90 b/gcc/gcc/testsuite/gfortran.dg/proc_assign_1.f90 |
index 919089acb425443683c18ce6b67a6a9ae1836886..e85df7635deb9739f13235bb95559b45a3c636aa 100644 |
--- a/gcc/gcc/testsuite/gfortran.dg/proc_assign_1.f90 |
+++ b/gcc/gcc/testsuite/gfortran.dg/proc_assign_1.f90 |
@@ -1,4 +1,6 @@ |
-! { dg-do compile } |
+! { dg-do compile } |
+! { dg-options "-std=legacy" } |
+! |
! This tests the patch for PR26787 in which it was found that setting |
! the result of one module procedure from within another produced an |
! ICE rather than an error. |