From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16380 invoked by alias); 10 Nov 2009 15:36:15 -0000 Received: (qmail 16370 invoked by uid 22791); 10 Nov 2009 15:36:14 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Nov 2009 15:36:09 +0000 Received: from wpaz29.hot.corp.google.com (wpaz29.hot.corp.google.com [172.24.198.93]) by smtp-out.google.com with ESMTP id nAAFa6PO007041 for ; Tue, 10 Nov 2009 07:36:07 -0800 Received: from fxm21 (fxm21.prod.google.com [10.184.13.21]) by wpaz29.hot.corp.google.com with ESMTP id nAAFa39X012349 for ; Tue, 10 Nov 2009 07:36:04 -0800 Received: by fxm21 with SMTP id 21so150690fxm.1 for ; Tue, 10 Nov 2009 07:36:03 -0800 (PST) Received: by 10.204.154.150 with SMTP id o22mr204087bkw.154.1257867362651; Tue, 10 Nov 2009 07:36:02 -0800 (PST) Received: from coign.google.com ([67.218.106.96]) by mx.google.com with ESMTPS id 15sm254191bwz.0.2009.11.10.07.35.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 10 Nov 2009 07:36:01 -0800 (PST) To: "Paul Edwards" Cc: "Ulrich Weigand" , Subject: Re: i370 port References: <200911041646.nA4Gkx1m032222@d12av02.megacenter.de.ibm.com> <49D99EB7E50944F4A09820F1016ACA77@Paullaptop> <8E98CABC006347C29A0419A1655E92E5@Paullaptop> From: Ian Lance Taylor Date: Tue, 10 Nov 2009 15:36:00 -0000 In-Reply-To: <8E98CABC006347C29A0419A1655E92E5@Paullaptop> (Paul Edwards's message of "Wed\, 11 Nov 2009 01\:58\:16 +1100") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-11/txt/msg00280.txt.bz2 "Paul Edwards" writes: > Another "where" question. The i370 port can't cope with 64-bit > integers. I think I would stop right there. Why can't the i370 port support 64-bit integers? Plenty of 32-bit hosts support them. That said, these days gcc always defines __SIZEOF_LONG_LONG__. It would be perfectly reasonable for hwint.h to test that. Maybe something along the lines of #if !defined HAVE_LONG_LONG # if GCC_VERSION >= 3000 # ifdef __SIZEOF_LONG_LONG__ # define HAVE_LONG_LONG 1 # define SIZEOF_LONGLONG __SIZEOF_LONG_LONG__ # else # define HAVE_LONG_LONG 1 # define SIZEOF_LONG_LONG 8 extern char sizeof_long_long_must_be_8[sizeof(long long) == 8 ? 1 : -1]; # endif # endif #endif Ian