From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7027 invoked by alias); 15 Jun 2009 13:32:42 -0000 Received: (qmail 7006 invoked by uid 22791); 15 Jun 2009 13:32:38 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,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; Mon, 15 Jun 2009 13:32:32 +0000 Received: from zps78.corp.google.com (zps78.corp.google.com [172.25.146.78]) by smtp-out.google.com with ESMTP id n5FDWTwL032670 for ; Mon, 15 Jun 2009 06:32:29 -0700 Received: from fxm24 (fxm24.prod.google.com [10.184.13.24]) by zps78.corp.google.com with ESMTP id n5FDWQsT004629 for ; Mon, 15 Jun 2009 06:32:27 -0700 Received: by fxm24 with SMTP id 24so1561566fxm.28 for ; Mon, 15 Jun 2009 06:32:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.215.15 with SMTP id s15mr3666256muq.118.1245072746293; Mon, 15 Jun 2009 06:32:26 -0700 (PDT) In-Reply-To: <4A2F1506.5090905@gmail.com> References: <4A2EB8F4.2080003@gmail.com> <4A2F1506.5090905@gmail.com> Date: Mon, 15 Jun 2009 13:32:00 -0000 Message-ID: <38a0d8450906150632l47fc0ca4he7a76f10b5172cba@mail.gmail.com> Subject: Re: plugin callbacks after compiler errors From: Rafael Espindola To: Taras Glek Cc: Diego Novillo , gcc@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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-06/txt/msg00308.txt.bz2 > As I said, it's a minor polish issue. It may be sufficient to just have a > note in the documentation as Basil suggested. I would prefer just changing the documentation too. In general I think that plugins should see gcc the same way a builtin pass does. If a plugin needs to look at the IL early in the pipeline it should be ready to work with previous errors. > > Taras > Cheers, -- Rafael Avila de Espindola Google | Gordon House | Barrow Street | Dublin 4 | Ireland Registered in Dublin, Ireland | Registration Number: 368047