From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27617 invoked by alias); 25 Mar 2011 12:31:18 -0000 Received: (qmail 27605 invoked by uid 22791); 25 Mar 2011 12:31:17 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from va3ehsobe003.messaging.microsoft.com (HELO VA3EHSOBE003.bigfish.com) (216.32.180.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Mar 2011 12:31:12 +0000 Received: from mail197-va3-R.bigfish.com (10.7.14.242) by VA3EHSOBE003.bigfish.com (10.7.40.23) with Microsoft SMTP Server id 14.1.225.8; Fri, 25 Mar 2011 12:31:11 +0000 Received: from mail197-va3 (localhost.localdomain [127.0.0.1]) by mail197-va3-R.bigfish.com (Postfix) with ESMTP id D9FF11AC01FD for ; Fri, 25 Mar 2011 12:31:10 +0000 (UTC) X-SpamScore: 1 X-BigFish: VPS1(zzzz1202hzz8275dhz32i2a8h668h64h) X-Spam-TCS-SCL: 3:0 X-Forefront-Antispam-Report: KIP:(null);UIP:(null);IPVD:NLI;H:Kcinpunhjhc01.kpit.com;RD:Kcinpunhjhc01.kpit.com;EFVD:NLI Received: from mail197-va3 (localhost.localdomain [127.0.0.1]) by mail197-va3 (MessageSwitch) id 1301056270797732_24046; Fri, 25 Mar 2011 12:31:10 +0000 (UTC) Received: from VA3EHSMHS012.bigfish.com (unknown [10.7.14.238]) by mail197-va3.bigfish.com (Postfix) with ESMTP id B672E189004F for ; Fri, 25 Mar 2011 12:31:10 +0000 (UTC) Received: from Kcinpunhjhc01.kpit.com (203.197.93.240) by VA3EHSMHS012.bigfish.com (10.7.99.22) with Microsoft SMTP Server (TLS) id 14.1.225.8; Fri, 25 Mar 2011 12:31:09 +0000 Received: from Kcinpunhjcms01.kpit.com ([172.10.16.121]) by Kcinpunhjhc01.kpit.com ([172.10.16.123]) with mapi; Fri, 25 Mar 2011 18:01:06 +0530 From: "Jayant R. Sonar" To: "gcc@gcc.gnu.org" Date: Fri, 25 Mar 2011 12:33:00 -0000 Subject: Supporting multiple pointer sizes in GCC Message-ID: <371569CBCFB2E745B891DBB88B2DFDDD1A229C5E3A@KCINPUNHJCMS01.kpit.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: kpitcummins.com 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: 2011-03/txt/msg00398.txt.bz2 Hello, Is it possible to support multiple pointer sizes (e.g. 16bit, 32bit) which can co-exist in single compilation unit? I want to add this support in backend code of a target architecture=20 for C and C++ languages. I referred an old discussion about same topic on following URL: http://gcc.gnu.org/ml/gcc/2006-08/msg00067.html However, even after going through this discussion I am still not very clear about this. Whether it is supported in GCC now? Is there any other architecture which has this feature already=20 implemented? Regards, Jayant Sonar