From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7188 invoked by alias); 14 Apr 2004 19:27:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 7154 invoked by alias); 14 Apr 2004 19:27:12 -0000 Date: Wed, 14 Apr 2004 19:45:00 -0000 Message-ID: <20040414192712.7153.qmail@sources.redhat.com> From: "jason at redhat dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20031204043712.13294.bkoz@gcc.gnu.org> References: <20031204043712.13294.bkoz@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/13294] [3.4 Regression] namespace associations vs. specializations X-Bugzilla-Reason: CC X-SW-Source: 2004-04/txt/msg01181.txt.bz2 List-Id: ------- Additional Comments From jason at redhat dot com 2004-04-14 19:27 ------- Subject: Re: [3.4 Regression] namespace associations vs. specializations On 14 Apr 2004 18:27:14 -0000, "gdr at integrable-solutions dot net" wrote: > Ahem. With Jason's patch (not the recent), how serious is the > remaining part of the problem? (This is not a rhetorical question, I > just want to hear of a nother evaluation). > Is the real problem the fact that the current mangling implementation > does not take context into account? No. The real problem, as I see it now, is that we're trying to warp the mangling implementation in order to make it easier to break code in subtle and surprising ways, as you described in your message titled "ODR violation made easy". Which I regret not having responded to sooner. http://gcc.gnu.org/ml/libstdc++/2004-03/msg00016.html I don't think supporting transparent interlinking of code compiled in different modes is a good idea. Requiring the debug and normal containers to be ABI-compatible with one another would seem to restrict the checking abilities of the debug containers quite a bit. And if we don't require that, any interlinking will cause horrible breakage. The feature described in 13294 is intended to make this interlinking work for specializations. Given my skepticism about the usefulness of interlinking in the first place, I don't think going out of our way to make it work in more cases is appropriate. Jason -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13294