From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25140 invoked by alias); 17 May 2010 17:02:49 -0000 Received: (qmail 23592 invoked by uid 48); 17 May 2010 17:02:29 -0000 Date: Mon, 17 May 2010 17:02:00 -0000 Message-ID: <20100517170229.23591.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/42904] Attribute dllexport should imply externally_visible In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "davek at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-05/txt/msg01811.txt.bz2 ------- Comment #2 from davek at gcc dot gnu dot org 2010-05-17 17:02 ------- Yes, it certainly does, in fact it omits to compile any definition for 'foo' whatsoever! But isn't this the expected behaviour of using '-fwhole-program' on something that is not the whole program? I'm not sure if the option is supposed to be suitable for use when building a shared library, I'll ask on the mailing list. -- davek at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |davek at gcc dot gnu dot org Known to work| |4.3.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42904