[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#118087: marked as done (hppa operator overloading problem)



Your message dated Thu, 29 Nov 2001 15:28:51 +0000
with message-id <20011129152851.F27354@parcelfarce.linux.theplanet.co.uk>
and subject line notabug
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Nov 2001 22:42:34 +0000
>From jdaily@progeny.com Fri Nov 02 16:42:34 2001
Return-path: <jdaily@progeny.com>
Received: from zealot.progeny.com (butthead.progeny.com) [216.37.46.162] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15zn1F-0005xQ-00; Fri, 02 Nov 2001 16:42:33 -0600
Received: from progeny.com (localhost [127.0.0.1])
	by butthead.progeny.com (Postfix) with ESMTP id EC38E449
	for <submit@bugs.debian.org>; Fri,  2 Nov 2001 17:42:32 -0500 (EST)
From: "John R. Daily" <jdaily@progeny.com>
To: submit@bugs.debian.org
Subject: hppa operator overloading problem
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
Content-ID: <25436.1004740936.0@progeny.com>
Date: Fri, 02 Nov 2001 17:42:32 -0500
Sender: jdaily@progeny.com
Message-Id: <[🔎] 20011102224232.EC38E449@butthead.progeny.com>
Delivered-To: submit@bugs.debian.org

------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <25436.1004740936.1@progeny.com>

Package: g++-3.0
Version: 3.0.2-10

This error is preventing ftpgrab from compiling on hppa. The test
cases below do not exhibit the same behavior on ia64.

fgfilegrab.cc:75: choosing `char FGString::operator[](unsigned int) const' over
   `operator[]'
fgfilegrab.cc:75:   because worst conversion for the former is better than
   worst conversion for the latter

I isolated the code in question into a test case, and found some
interesting results. When I stripped the FGString class down to
just one constructor and the operator[] method, I still saw the
error. When I stripped down the FGString header file to just
those two declarations, the code compiled.

I'm attaching a .tar.gz file with the code in question, along
with the .ii and .s files from the failed compile. Note that if
you replace "opov.h" with "simple.h", the code compiles.

Here is the command-line output with -v.

> g++ -v main.cc opov.o
Reading specs from /usr/lib/gcc-lib/hppa-linux/3.0.2/specs
Configured with: ../src/configure -v --enable-languages=c,c++,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --with-cpp-install-dir=bin hppa-linux
Thread model: posix
gcc version 3.0.2 20011014 (Debian prerelease)
 /usr/lib/gcc-lib/hppa-linux/3.0.2/cc1plus -v -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=2 -D__ELF__ -Dunix -D__hppa__ -Dlinux -D__ELF__ -D__unix__ -D__hppa__ -D__linux__ -D__unix -D__linux -Asystem=unix -Asystem=posix -Acpu=hppa -Amachine=hppa -Amachine=bigendian -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D_GNU_SOURCE -D_PA_RISC1_1 main.cc -D__GNUG__=3 -D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -mno-space-regs -quiet -dumpbase main.cc -version -o /tmp/ccvqDTGa.s
GNU CPP version 3.0.2 20011014 (Debian prerelease) (cpplib) (hppa)
GNU C++ version 3.0.2 20011014 (Debian prerelease) (hppa-linux)
        compiled by GNU C version 3.0.2 20011014 (Debian prerelease).
ignoring nonexistent directory "/usr/hppa-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/g++-v3
 /usr/include/g++-v3/hppa-linux
 /usr/include/g++-v3/backward
 /usr/local/include
 /usr/lib/gcc-lib/hppa-linux/3.0.2/include
 /usr/include
End of search list.
main.cc: In function `int main()':
main.cc:8: choosing `char FGString::operator[](unsigned int) const' over 
   `operator[]'
main.cc:8:   because worst conversion for the former is better than worst 
   conversion for the latter


------- =_aaaaaaaaaa0
Content-Type: application/x-gtar; name="bug.tar.gz"
Content-ID: <25436.1004740936.2@progeny.com>
Content-Description: Files to demonstrate bug
Content-Transfer-Encoding: base64

H4sIAJod4zsAA+1Y63PbNhL3V/GvwMnjq9TINEHq4ch1p44sO5oqrkdOO73LZDQUBUps+TqCsq1k
0r/9FgCfeliXmZPTTPD7QmKxL+xilyupJwd7h6Y1tU6nBU+t2Wp32BM3mxp7pjjQOkZHa+N2s9k+
0LCmd9oHqLV/1w4OFjQ2I4QO/gxM13yC75JMHNN/Do+eFeqJZzq+all7tAH51CCxW/OP9XaWf6Op
Az9uYci/tkefMnzj+T90fMtdTAmqBmFwr86riuL4scIuRe0+cKZ15aOC0NX1XRw5/gzZQVCrviau
G1TrZwrsAOGd9v4M3iISLyIfaWfKJ+VLn0rif4V6wvP+Reu/hbVC/Ru8/luGrP/nwMkJsmeUFzdc
AkXJ+sEPCXH+Y4FmUkqiuEyj8dR1JiVa3kvSxtHtpm81K/BpjKy5GX2PQqCJDuMNiT+L5+gcgV2X
+DW+xfqKFya95xz55IELvku4X2DeeUDCCpe1lLGBEtlPisK4C04EIYnMOIjeva8tfOrMfDJF0O5Q
GNA64o5xZ8Qxa0BFP5ynrol+l3S51NY74Hn/NXe8pP7n+7Sxo/51XTfy+m9hVv9N3JH1/xw4dGx/
Smw0hiJ5OxrcXI9fK4dAcHxSoinFRjGHFSO8WaLgwUe9Fy+Q2EGWC7XDtl4Ry1xQ0kXxnKDAd4ET
NA6QZfoIlE9hibwloksaEw85FD0ExF64wOf45pT8Z2HGBMqXqcunj49KuJi4jtWFQgQbPVaw0cKC
gqaCcklsc+HGopTFTmF6qfF+UhREdhR4qNCRitxrjSqTDpfbLAiZdPlPFMDxI9E5QPKCsp7jEeg4
QagW5IAx6UznO1RckoLZv4onS53zQjNyKIQ3VcliMwkCN7exzYg41dkq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WHNmHeqNT5QCq8LDnpWBRsXv8zyxqTR4uE
8Tg2Jy5pVM2HauOnMApmEyemoGh4d3nBVU2WMaloj7a9+R0Opi5cMoGiQkKqd9fHx+nrK6zkr90S
LyuDY94rVsh9Rma7Bbr2uH0limCzKixUlemdNd4NCvXNCnWhUP8c34zNqgyhynhSVR7Tbt6OszyS
+diOTG9D/jiZyzR5psBUb8DDcceeSvLMGYTpLKvZp+DD7bBa8omdgyarZi5Sjkg739AyE+Px7PFx
DBMtDeCHuRMvx/damS95tcoGyVqE8s9WX5wCjnN12S+flxHgvBd8R0lfiiyCcpxGq7Aj0pWt+uvX
S3tsFjh4ueQHKG6xT0YmnQbLLmkyylnHpznn6fr12KyjHP9WOUjpwZ0p8eNK9brX66La9c2vdWSo
mqojHQY5DLMcqonpCIURiYhLTErq1a90IJaQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQ
kJCQkJCQkJD4m+O/ZITaPgBQAAA=

------- =_aaaaaaaaaa0--

---------------------------------------
Received: (at 118087-close) by bugs.debian.org; 29 Nov 2001 15:28:53 +0000
>From willy@www.linux.org.uk Thu Nov 29 09:28:53 2001
Return-path: <willy@www.linux.org.uk>
Received: from parcelfarce.linux.theplanet.co.uk (www.linux.org.uk) [195.92.249.252] (exim)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 169T7N-0001DN-00; Thu, 29 Nov 2001 09:28:53 -0600
Received: from willy by www.linux.org.uk with local (Exim 3.33 #5)
	id 169T7L-0007bT-00
	for 118087-close@bugs.debian.org; Thu, 29 Nov 2001 15:28:51 +0000
Date: Thu, 29 Nov 2001 15:28:51 +0000
From: Matthew Wilcox <willy@debian.org>
To: 118087-close@bugs.debian.org
Subject: notabug
Message-ID: <20011129152851.F27354@parcelfarce.linux.theplanet.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Sender:  <willy@www.linux.org.uk>
Delivered-To: 118087-close@bugs.debian.org


gcc PR #3747 claims this is a bug in the code, not gcc.  submitter agrees
so i'm closing this bug.

-- 
Revolutions do not require corporate support.



Reply to: