[Bug fortran/84381] replace non-std 'call abort' by 'stop 1' in gfortran testsuite

neil.n.carlson at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Mar 2 21:52:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84381

--- Comment #12 from Neil Carlson <neil.n.carlson at gmail dot com> ---
Argh... here's the *correct* patch

diff --git a/literal_character_constant_1.inc
b/literal_character_constant_1.inc
index ba24966..40375cd 100644
--- a/literal_character_constant_1.inc
+++ b/literal_character_constant_1.inc
@@ -9,12 +9,12 @@ c A tab is between 8 and 9.
       write(fil,'(a)') c
 #ifdef LL_NONE
       if(fil.ne. "12345678     9")
-     &  call abort
+     &  stop 1
 #else
       if(fil.ne.
      &"1234567                                                      8  9"
      &)
-     &  call abort
+     &  stop 2
 #endif
       end


More information about the Gcc-bugs mailing list