From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11934 invoked by alias); 19 Jul 2011 16:40:43 -0000 Received: (qmail 11855 invoked by uid 22791); 19 Jul 2011 16:40:42 -0000 X-SWARE-Spam-Status: No, hits=-7.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 19 Jul 2011 16:40:27 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p6JGdvEF016490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 19 Jul 2011 12:39:57 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p6JGduFL031758; Tue, 19 Jul 2011 12:39:56 -0400 Received: from [0.0.0.0] (ovpn-113-82.phx2.redhat.com [10.3.113.82]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p6JGdqVI006926; Tue, 19 Jul 2011 12:39:53 -0400 Message-ID: <4E25B358.9090700@redhat.com> Date: Tue, 19 Jul 2011 17:26:00 -0000 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: Dodji Seketeli CC: gcc-patches@gcc.gnu.org, tromey@redhat.com, gdr@integrable-solutions.net, joseph@codesourcery.com, burnus@net-b.de, charlet@act-europe.fr, bonzini@gnu.org Subject: Re: [PATCH 1/7] Linemap infrastructure for virtual locations References: <1291979498-1604-1-git-send-email-dodji@redhat.com> <3d6fbfd16f0e3493839205de1266eaaa8dbb9c77.1310824121.git.dodji@redhat.com> <4E249A5C.9060409@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-07/txt/msg01542.txt.bz2 On 07/19/2011 05:42 AM, Dodji Seketeli wrote: > If you are talking about the case of a macro A that can have (among the > tokens of its replacement list) a token B that itself is a macro, then > this is supported by the current setup. I was more thinking of the case of a macro A with a parameter X which is passed to macro B, and then macro C: 1: #define A(X) B(X) 2: #define B(X) C(X) 3: #define C(X) X+2 4: 5: A(blah) what is the replacement point of "blah"? Is it the use of X on line 3? It seems that we can only have information about the X in one of the macro definitions. Jason