From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32328 invoked by alias); 26 Feb 2013 14:58:18 -0000 Received: (qmail 32309 invoked by uid 22791); 26 Feb 2013 14:58:16 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mx01.qsc.de (HELO mx01.qsc.de) (213.148.129.14) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Feb 2013 14:58:07 +0000 Received: from archimedes.net-b.de (port-92-195-200-211.dynamic.qsc.de [92.195.200.211]) by mx01.qsc.de (Postfix) with ESMTP id B51243CA97; Tue, 26 Feb 2013 15:58:05 +0100 (CET) Message-ID: <512CCD7D.3060400@net-b.de> Date: Tue, 26 Feb 2013 14:58:00 -0000 From: Tobias Burnus User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: Janne Blomqvist CC: gcc patches , gfortran Subject: Re: [Patch, Fortran] PR55758 - Non-C_Bool handling with BIND(C) References: <50DCCC29.6010206@net-b.de> <50E01A7C.2090106@net-b.de> <50E9ABC7.4040705@net-b.de> <50EC9EFF.8020706@net-b.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2013-02/txt/msg01164.txt.bz2 On January 10, 2013 20:42, Janne Blomqvist wrote: > On Wed, Jan 9, 2013 at 12:34 AM, Tobias Burnus wrote: >> Janne Blomqvist worte: >>> On Sun, Jan 6, 2013 at 6:52 PM, Tobias Burnus 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