This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran] PATCH implement g77 intrinsics


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]