From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13576 invoked by alias); 21 Aug 2003 09:23:07 -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 13322 invoked from network); 21 Aug 2003 09:23:00 -0000 Received: from unknown (HELO gate.algorithm.aelita.com) (212.176.18.2) by sources.redhat.com with SMTP; 21 Aug 2003 09:23:00 -0000 Received: from bagman.edm.com ([10.0.0.4]) by gate.algorithm.aelita.com (Post.Office MTA v3.5.3 release 223 ID# 0-12345L500S10000V35) with ESMTP id com; Thu, 21 Aug 2003 13:23:05 +0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Subject: RE: Is this a bug? Date: Thu, 21 Aug 2003 09:23:00 -0000 Message-ID: <3F6F4712B759A34ABD453A8B39C10D62DEE73B@bagman.edm.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Lev Assinovsky" To: "Alexandre Oliva" Cc: "Gcc-Bugs (E-mail)" , "Gcc-Help (E-mail)" X-SW-Source: 2003-08/txt/msg02276.txt.bz2 List-Id: The test case passed under gcc 3.3.1. The problem was in lack of SOM weak support in gcc prior 3.3 ---- Lev Assinovsky Aelita Software Corporation O&S Core Division, Programmer ICQ# 165072909 > -----Original Message----- > From: Alexandre Oliva [mailto:aoliva@redhat.com] > Sent: Tuesday, August 12, 2003 10:57 PM > To: Lev Assinovsky > Cc: Gcc-Bugs (E-mail); Gcc-Help (E-mail) > Subject: Re: Is this a bug? >=20 >=20 > On Aug 12, 2003, "Lev Assinovsky"=20 > wrote: >=20 > > gcc 3.2.3, HPUX-11.00: >=20 > > t.cpp: In static member function `static const item* A::f()': > > t.cpp:6: warning: sorry: semantics of inline function=20 > static data `const item=20 > > arr[1]' are wrong (you'll wind up with multiple copies) > > t.cpp:6: warning: you can work around this by removing=20 > the initializer >=20 > It's not as much of a bug, but rather a limitation AFAIK imposed by > the object file of the platform you've chosen. GCC requires weak > symbols in order to implement this feature correctly, and 32-bit HP-UX > object files don't support them (completely?). >=20 > --=20 > Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ > Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org} > CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} > Free Software Evangelist Professional serial bug killer >=20