[Patch, Fortran] Add caf_runtime_error to libgfortran/caf/single.c

Daniel Carrera dcarrera@gmail.com
Thu Jul 14 10:31:00 GMT 2011


On 07/14/2011 12:04 PM, Tobias Burnus wrote:
> I was wondering - based on the discussion - whether one should remove
> the "int error" argument from caf_runtime_error and simply use "exit
> (EXIT_FAILURE)" for all exit() calls in mpi.c/single.c, cf.
> http://gcc.gnu.org/ml/fortran/2011-07/msg00140.html
> But one can also do so as follow up patch.

You are the boss. The message I got from Nick's post is that it doesn't 
matter much and that you could even get surprising behaviour because 
EXIT_SUCCESS is not required to be zero and EXIT_FAILURE is not required 
to be non-zero. But maybe I missed the point. So it's up to you.

Cheers,
Daniel.
-- 
I'm not overweight, I'm undertall.



More information about the Gcc-patches mailing list