From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3895 invoked by alias); 4 Sep 2009 13:18:01 -0000 Received: (qmail 3882 invoked by uid 22791); 4 Sep 2009 13:18:00 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-bw0-f225.google.com (HELO mail-bw0-f225.google.com) (209.85.218.225) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Sep 2009 13:17:53 +0000 Received: by bwz25 with SMTP id 25so650140bwz.8 for ; Fri, 04 Sep 2009 06:17:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.155.67 with SMTP id r3mr9073197bkw.94.1252070270237; Fri, 04 Sep 2009 06:17:50 -0700 (PDT) In-Reply-To: <4AA110EC.3080809@net-b.de> References: <4AA110EC.3080809@net-b.de> Date: Fri, 04 Sep 2009 13:18:00 -0000 Message-ID: <90baa01f0909040617i6e771c3ei33e629f60df80275@mail.gmail.com> Subject: Re: [patch]: Add check for stdint header From: Kai Tietz To: Tobias Burnus Cc: gcc patches , Paolo Bonzini , Richard Guenther , Richard Henderson , Ralf Wildenhues Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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: 2009-09/txt/msg00355.txt.bz2 2009/9/4 Tobias Burnus : > Paolo Bonzini wrote: >> You can use GCC_STDINT_TYPES (new in this version) instead of >> GCC_HEADER_STDINT since GCC does not need int_leastNN_t and int_fastNN_t. > > That is not completely true. The Fortran front end needs to know the > storage size of the int_{least,fast}*_t in order to make the > c_int_{least,fast}*_t kind parameters available in the ISO_C_BINDING > module (for interoperability with C). The size needs to match the one on > the target system in order that C and Fortran can interoperate. > > I have not checked whether the change affects this (cf. > gcc/fortran/iso-c-binding.def and users of this file), but one should > check this before submittal. > > Tobias > The fortan frontend file iso-c-binding.def depends on target type nodes of gcc. These are covered by target's stdint definitions, and not by the build system's stdint header. So there is no mixture possible AFAIKS (as bootstrap had already shown, too). Kai -- | (\_/) This is Bunny. Copy and paste | (='.'=) Bunny into your signature to help | (")_(") him gain world domination