On Thu, Jul 14, 2011 at 23:34, Tobias Burnus wrote:
> Janne Blomqvist wrote:
>>
>> * caf/mpi.c (caf_runtime_error): Remove "error" parameter.
>> Return EXIT_FAILURE instead.
>> > From the patch:
>>
>> /* FIXME: Shutdown the Fortran RTL to flush the buffer. PR 43849. */
>>
>> This
Janne Blomqvist wrote:
* caf/mpi.c (caf_runtime_error): Remove "error" parameter.
Return EXIT_FAILURE instead.
> From the patch:
/* FIXME: Shutdown the Fortran RTL to flush the buffer. PR 43849. */
This is unnecessary, as the call to exit() will call the libgfortran
destruct
On 07/14/2011 09:48 PM, Janne Blomqvist wrote:
2011-07-14 Daniel Carrera
* caf/mpi.c (caf_runtime_error): Remove "error" parameter.
Return EXIT_FAILURE instead.
Well, this changelog entry is incorrect; you're calling
exit(EXIT_FAILURE) and not returning a value.
Ok. What t
On Thu, Jul 14, 2011 at 18:40, Daniel Carrera wrote:
> And of course, here is the patch and ChangeLog.
>
> 2011-07-14 Daniel Carrera
> * caf/mpi.c (caf_runtime_error): Remove "error" parameter.
> Return EXIT_FAILURE instead.
Well, this changelog entry is incorrect; you're callin
And of course, here is the patch and ChangeLog.
2011-07-14 Daniel Carrera
* caf/single.c: Include stdarg.h header.
(caf_runtime_error): New function. Use "exit(EXIT_FAILURE)".
(_gfortran_caf_register): Use caf_runtime_error.
(_gfortran_caf_sync_images): Use "e
Hi Tobias,
As per your suggestion, I'm copying to gfotran and gcc-patches. I've
made the change your asked and I'm going to commit the patch.
Cheers,
Daniel.
On 07/14/2011 05:31 PM, Tobias Burnus wrote:
On 07/14/2011 05:05 PM, Daniel Carrera wrote:
+caf_runtime_error (const char *message,
On 07/14/2011 12:14 PM, Daniel Carrera wrote:
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:/
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
B
On 07/14/2011 11:48 AM, Daniel Carrera wrote:
This patch adds a caf_runtime_error function to the non-MPI
implementation of Coarray Fortran. It is based on the MPI function of
the same name in mpi.c.
Ok to commit?
I was wondering - based on the discussion - whether one should remove
the "in
This patch adds a caf_runtime_error function to the non-MPI
implementation of Coarray Fortran. It is based on the MPI function of
the same name in mpi.c.
Ok to commit?
ChangeLog:
2011-07-14 Daniel Carrera
* caf/single.c: Include stdarg.h header.
(caf_runtime_error): New f
10 matches
Mail list logo