This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ patch, testsuite, fortran] Replace "call abort" by "stop n"
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 16 Feb 2018 00:25:11 +0100
- Subject: Re: [ patch, testsuite, fortran] Replace "call abort" by "stop n"
- Authentication-results: sourceware.org; auth=none
- References: <9fe99d94-89d0-41ba-e298-fb853d8bd02a@netcologne.de>
I wrote:
OK for trunk?
Following a remark by Steve, here is an additional test case which
checks if abort actually works. I'll add that to the patch
when it is committed.
Regards
Thomas
! { dg-do run }
! { dg-shouldfail "Program aborted." }
program main
call abort
end program main