From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2707 invoked by alias); 3 May 2004 02:36:19 -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 2697 invoked by uid 48); 3 May 2004 02:36:18 -0000 Date: Mon, 03 May 2004 02:36:00 -0000 Message-ID: <20040503023618.2696.qmail@sources.redhat.com> From: "bryner at brianryner dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040418032536.15000.bryner@brianryner.com> References: <20040418032536.15000.bryner@brianryner.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug other/15000] Support setting the default symbol visibility for ELF X-Bugzilla-Reason: CC X-SW-Source: 2004-05/txt/msg00128.txt.bz2 List-Id: ------- Additional Comments From bryner at brianryner dot com 2004-05-03 02:36 ------- (In reply to comment #20) > Brian, nested classes aren't inheriting visibility off their enclosing class > with the new patch. I tried fixing this and failed because AFAICS in pushclass() > the enclosing class hasn't processed attribute flags yet and so everything is > always default visibility. > I'd be surprised if that happens with the old patch, either... certainly it's not something I've tested. (The old patch always initializes a new class on the class stack with VISIBILITY_DEFAULT, so I don't see how the visibility would come from anywhere other than the inner class's attributes). I'm not really sure how to make it work, either... I'd need to think about it some more. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15000