From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7490 invoked by alias); 29 Sep 2004 18:14:57 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 7396 invoked from network); 29 Sep 2004 18:14:54 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.74.133.10) by sourceware.org with SMTP; 29 Sep 2004 18:14:54 -0000 Received: (qmail 25716 invoked from network); 29 Sep 2004 18:14:54 -0000 Received: from localhost (HELO taltos.codesourcery.com) (zack@127.0.0.1) by mail.codesourcery.com with SMTP; 29 Sep 2004 18:14:54 -0000 Received: by taltos.codesourcery.com (sSMTP sendmail emulation); Wed, 29 Sep 2004 11:14:49 -0700 To: Per Bothner Cc: "Joseph S. Myers" , gcc@gcc.gnu.org Subject: Re: #pragma interface/implementation broken if --enable-mapped-location References: <41537AFC.4070709@bothner.com> <87isa4ctbq.fsf@codesourcery.com> <415387BE.9070303@bothner.com> <876564cqyo.fsf@codesourcery.com> <87zn3f2yx3.fsf@codesourcery.com> <415AF988.9090208@bothner.com> From: Zack Weinberg Date: Wed, 29 Sep 2004 20:56:00 -0000 In-Reply-To: <415AF988.9090208@bothner.com> (Per Bothner's message of "Wed, 29 Sep 2004 11:06:00 -0700") Message-ID: <87acv9t012.fsf@codesourcery.com> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-09/txt/msg01626.txt.bz2 Per Bothner writes: > Zack Weinberg wrote: > >> Given all that, I think it makes sense for all pragmas to become >> token sequences. > > How close are we to having this? > > I'm hoping to check in today my gcc/java changes to handle > --enable-mapped-location. That would allow bootstrapping gcc > with the default set of languages. But that requires a fix > or workaround for the #pragma interface/implementation bug, > since otherwise libjava won't build. > > If we're not close to the #pragma-as-token change, I could > implement a quickie fix to for example temporarily clear > cb.line_change during cpp_handle_deferred_pragma. I think we're at least a couple weeks away from #pragma-as-tokens. A quickie fix would be fine by me. zw