This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] PATCH implement g77 intrinsics
- From: FranÃois-Xavier Coudert <Francois-Xavier dot Coudert at lcp dot u-psud dot fr>
- To: Richard Henderson <rth at redhat dot com>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 21 Mar 2005 10:11:55 +0100
- Subject: Re: [gfortran] PATCH implement g77 intrinsics
- Organization: Laboratoire de Chimie Physique
- References: <20050317213637.GA6601@quatramaran.ens.fr> <20050320180945.GA24267@redhat.com>
Passing pointer values to kill. Should be kill (*pid, *signal).
I plead guilty.
Why pass a value if NULL is handled by kill_i4_sub?
I'm not sure I understand your question.
GFC_INTEGER_4 val;
kill_i4_sub (pid, signal, &val);
return val;
We pass &val to kill_i4_sub because we need to return this value.
FX