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: [Patch, Fortran] PR55758 - Non-C_Bool handling with BIND(C)


On January 10, 2013 20:42, Janne Blomqvist wrote:
On Wed, Jan 9, 2013 at 12:34 AM, Tobias Burnus <burnus@net-b.de> wrote:
Janne Blomqvist worte:
On Sun, Jan 6, 2013 at 6:52 PM, Tobias Burnus<burnus@net-b.de> wrote:
[Patch, which handles BIND(C) LOGICALs as integers, doing the necessary casts to true logicals with TYPE_PRECISION() == 1. http://gcc.gnu.org/ml/fortran/2013-01/msg00049.html ]

[...]

Ah, thanks for the clarification. I think if we cannot make it really bullet-proof, then it's safer to reject it outright. Do you happen to know if anyone except openmpi would be affected? If only openmpi, then we could give them a nudge and the issue would
likely be fixed by the time gcc 4.8 rolls out to end users.

I turns out that the current Message Passing Interface (MPI) 3.0 specification itself is affected (MPI03 module), which uses default-kind LOGICAL (and default-kind INTEGER) with BIND(C) throughout the specification. See http://lists.mpi-forum.org/mpi-comments/2013/02/0076.php


It is still unclear how the MPI committee will handle it. (Unsurprisingly as the issue is only known since

Tobias


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