From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12700 invoked by alias); 14 Oct 2002 19:31:55 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 12693 invoked from network); 14 Oct 2002 19:31:54 -0000 Received: from unknown (HELO uha.cs.bris.ac.uk) (62.30.75.143) by sources.redhat.com with SMTP; 14 Oct 2002 19:31:54 -0000 Received: from codesourcery.com (localhost.localdomain [127.0.0.1]) by uha.cs.bris.ac.uk (8.11.6/8.11.6) with ESMTP id g9EJVrf20215; Mon, 14 Oct 2002 20:31:53 +0100 Message-ID: <3DAB1BA8.9080702@codesourcery.com> Date: Mon, 14 Oct 2002 12:56:00 -0000 From: Nathan Sidwell Organization: Codesourcery LLC User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gcc@gcc.gnu.org Subject: Target ABIs with 16bit ints. Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-10/txt/msg00737.txt.bz2 Hi, Something's just popped concerning targets with 16bit ints. Paul Koning reminds me that the pdp11 target has such. This conflicts with the gcc & gnu coding standards. doc/portability.texi says 'The main goal of GCC was to make a good, fast compiler for machines in the class that the GNU system aims to run on: 32-bit machines that address 8-bit bytes and have several general registers.' the gnu coding standards additionally say 'However, don't make any effort to cater to the possibility that an @code{int} will be less than 32 bits. We don't support 16-bit machines in GNU.' How many 16bit int abi targets do we have? How important are they now? (Yes, I know the pdp11 /was/ important :) Should we deprecate them? nathan -- Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC 'But that's a lie.' - 'Yes it is. What's your point?' nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org