This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Mark stop_numeric as noreturn in libgfortran.h
- From: Thomas Koenig <tkoenig at alice-dsl dot net>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>
- Date: Tue, 22 May 2007 21:33:56 +0200
- Subject: Re: [patch, fortran] Mark stop_numeric as noreturn in libgfortran.h
- References: <4653435C.4090403@net-b.de>
On Tue, 2007-05-22 at 21:24 +0200, Tobias Burnus wrote:
:REVIEWMAIL:
> :ADDPATCH fortran:
>
> stop_numeric calls sys_exit, which has the noreturn attribute.
>
> It makes therefore sense to add the attribute also to stop_numeric.
> (stop_numeric is used by runtime/pause.c if the answer is not "go").
>
> Build & check-gfortran tested on x86_64-unknown-linux-gnu.
>
> Ok for the trunk?
Yes, that's ok (obvious really).
Thomas