summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/alloc_comp_assign_10.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/alloc_comp_assign_10.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/alloc_comp_assign_10.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gfortran.dg/alloc_comp_assign_10.f90 b/gcc/testsuite/gfortran.dg/alloc_comp_assign_10.f90
index 808a2898cfa..9f1d35dd08d 100644
--- a/gcc/testsuite/gfortran.dg/alloc_comp_assign_10.f90
+++ b/gcc/testsuite/gfortran.dg/alloc_comp_assign_10.f90
@@ -51,8 +51,8 @@ program tao_program
u%design%bunch_params%n_live_particle = [(i, i = 0, n)]
u%model = u%design
u%model = u%design ! The double assignment was the cause of the ICE
- if (.not. allocated (u%model%bunch_params)) call abort
- if (any (u%model%bunch_params%n_live_particle .ne. [(i, i = 0, n)])) call abort
+ if (.not. allocated (u%model%bunch_params)) STOP 1
+ if (any (u%model%bunch_params%n_live_particle .ne. [(i, i = 0, n)])) STOP 2
Deallocate (u%model%bunch_params, u%design%bunch_params)
deallocate (u%design, u%model)
deallocate (s%u)