From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22431 invoked by alias); 14 Feb 2011 16:43:54 -0000 Received: (qmail 22404 invoked by uid 22791); 14 Feb 2011 16:43:52 -0000 X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from nm19.bullet.mail.ukl.yahoo.com (HELO nm19.bullet.mail.ukl.yahoo.com) (217.146.183.193) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Mon, 14 Feb 2011 16:43:47 +0000 Received: from [217.146.183.216] by nm19.bullet.mail.ukl.yahoo.com with NNFMP; 14 Feb 2011 16:43:44 -0000 Received: from [217.146.183.173] by tm9.bullet.mail.ukl.yahoo.com with NNFMP; 14 Feb 2011 16:43:44 -0000 Received: from [127.0.0.1] by omp1014.mail.ukl.yahoo.com with NNFMP; 14 Feb 2011 16:43:44 -0000 Received: (qmail 39615 invoked by uid 60001); 14 Feb 2011 16:43:44 -0000 Message-ID: <64888.39441.qm@web28511.mail.ukl.yahoo.com> Received: from [132.166.134.55] by web28511.mail.ukl.yahoo.com via HTTP; Mon, 14 Feb 2011 16:43:40 GMT Date: Mon, 14 Feb 2011 17:44:00 -0000 From: charfi asma Subject: [GCC front end] add new TREE CODE To: gcc-help@gcc.gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-02/txt/msg00205.txt.bz2 Hello, I am developping my own gcc front end. My source language contains concepts= that=20 are not represented directly in C code. to compile those elements, I think that I should add a new tree codes to my= =20 front end as C++ does for templates... I think that I should also implement how to translate this new tree code in= =20 Gimple. my question is : should I also care about how to translate those tree code = al=20 over the compiler chain: gimple --> ssa --> unssa --> rtl --> ass ... did you suggest to follow an example of an existing front end that adds som= e=20 tree code cause the C++ one seems to be mature and complete. thank you very much Asma