From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23954 invoked by alias); 29 Jul 2009 15:52:07 -0000 Received: (qmail 23946 invoked by uid 22791); 29 Jul 2009 15:52:07 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-117-wednesday.nerim.net (HELO maiev.nerim.net) (62.4.16.117) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Jul 2009 15:51:54 +0000 Received: from hector.lesours (ours.starynkevitch.net [213.41.244.95]) by maiev.nerim.net (Postfix) with ESMTP id C2ECCB88D4 for ; Wed, 29 Jul 2009 17:51:49 +0200 (CEST) Received: from glinka.lesours ([192.168.0.1]) by hector.lesours with esmtp (Exim 4.69) (envelope-from ) id 1MWBRW-0001P6-Hi for gcc@gcc.gnu.org; Wed, 29 Jul 2009 17:51:50 +0200 Message-ID: <4A707003.8060103@starynkevitch.net> Date: Wed, 29 Jul 2009 15:52:00 -0000 From: Basile STARYNKEVITCH User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: GCC Mailing List Subject: MELT tutorial on the wiki Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-07/txt/msg00602.txt.bz2 Hello All, I added as a turorial on the wiki, a small MELT pass which warns against fprintf(stdout, ...) in the compiled code. For GCC hackers, is the page http://gcc.gnu.org/wiki/writing%20a%20pass%20in%20MELT clear enough? (of course, the pass implementation is imperfect, but I have hard time finding good *small* examples). regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***