From patchwork Tue Nov 19 21:32:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Basile Starynkevitch X-Patchwork-Id: 292576 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id EAE2C2C0079 for ; Wed, 20 Nov 2013 08:33:19 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; q=dns; s= default; b=OkTSAaq9DIWJdw3eZFe5PKx25L8UakrcFf0yTAqJXYXruxXyG25oo Yve9DJEiHMMNPDCSzOJ858n5EoxiwDscZXQ5W6L0z5jlhchayItLBTn9TAteVBia aTQazLr0dW2Jw6UwFHq/lHoRQTbJJF+rh23hyj+KG9LXwxou+INepA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; s=default; bh=cUQIdEwvVQM9n16aUUTpTAnhivc=; b=NoYNmopZhlHSqinPX+peccevj3JR szNdR4tBcCe4/D9vCARUKY4LQqz8wUDI84uuEe21cc77ZhjKZ1wdmTmhEUYhH8Xn v+pDa46LAqZGgN4m+Wm3gvZxFRNj6u7Wo92QXbVrZrtG1CkCMJ5L1QBYq1sF4qcD 2J0SpN8jbYRR4XM= Received: (qmail 9470 invoked by alias); 19 Nov 2013 21:33:09 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 9460 invoked by uid 89); 19 Nov 2013 21:33:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL, BAYES_50, RDNS_NONE, URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: ovh.starynkevitch.net Received: from Unknown (HELO ovh.starynkevitch.net) (46.105.17.220) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 19 Nov 2013 21:33:06 +0000 Received: from ours.starynkevitch.net ([213.41.244.95] helo=hector.lesours) by ovh.starynkevitch.net with esmtp (Exim 4.76) (envelope-from ) id 1Visuo-0002vE-Bz; Tue, 19 Nov 2013 22:32:58 +0100 Received: from glinka.lesours ([192.168.0.1]) by hector.lesours with esmtp (Exim 4.80) (envelope-from ) id 1Visuj-0007jz-6M; Tue, 19 Nov 2013 22:32:53 +0100 Message-ID: <1384896773.11868.10.camel@glinka.lesours> Subject: Re: patch PLUGIN_HEADER_FILE event for tracing of header inclusions. From: Basile Starynkevitch To: Dominique Dhumieres Cc: gcc-patches@gcc.gnu.org Date: Tue, 19 Nov 2013 22:32:53 +0100 In-Reply-To: <20131119193335.40A88104@mailhost.lps.ens.fr> References: <20131119193335.40A88104@mailhost.lps.ens.fr> Mime-Version: 1.0 X-IsSubscribed: yes On Tue, 2013-11-19 at 20:33 +0100, Dominique Dhumieres wrote: > > Thanks: Committed revision 205038. > > This seems to break several g++ tests: see http://gcc.gnu.org/ml/gcc-testresults/2013-11/msg01482.html > On x86_64-apple-darwin13, the ICE is I would guess that the following trivial patch should correct that: ##### patch against svn rev 205052 ##### If that patch correct the bug, I guess that I could apply it under the "obvious bugfix" rule. Could you check that it works on your MacOSX? Apologies for my mistake. Thanks Index: gcc/plugin.c =================================================================== --- gcc/plugin.c (revision 205052) +++ gcc/plugin.c (working copy) @@ -529,6 +529,7 @@ invoke_plugin_callbacks_full (int event, void *gcc case PLUGIN_EARLY_GIMPLE_PASSES_START: case PLUGIN_EARLY_GIMPLE_PASSES_END: case PLUGIN_NEW_PASS: + case PLUGIN_INCLUDE_FILE: { /* Iterate over every callback registered with this event and call it. */