From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27279 invoked by alias); 9 May 2003 09:32:07 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 27250 invoked by uid 48); 9 May 2003 09:32:07 -0000 Date: Fri, 09 May 2003 09:32:00 -0000 Message-ID: <20030509093207.27249.qmail@sources.redhat.com> To: bhuang@qubit-star.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: ehrhardt@mathematik.uni-ulm.de Reply-To: ehrhardt@mathematik.uni-ulm.de, bhuang@qubit-star.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c/10696: linker problem with global variable X-SW-Source: 2003-05/txt/msg00719.txt.bz2 List-Id: Synopsis: linker problem with global variable State-Changed-From-To: open->closed State-Changed-By: cae State-Changed-When: Fri May 9 09:32:06 2003 State-Changed-Why: Not a bug! As defined in 6.2.2 foo_global has external linkage in both translation units, hence both identifiers refer to the same object. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10696