public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/7919: using declarations screw this pointer
@ 2002-09-14 12:24 nathan
0 siblings, 0 replies; 3+ messages in thread
From: nathan @ 2002-09-14 12:24 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nathan, nathan, nobody
Synopsis: using declarations screw this pointer
Responsible-Changed-From-To: unassigned->nathan
Responsible-Changed-By: nathan
Responsible-Changed-When: Sat Sep 14 12:24:26 2002
Responsible-Changed-Why:
patching
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Sat Sep 14 12:24:26 2002
State-Changed-Why:
confirmed a regression
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7919
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/7919: using declarations screw this pointer
@ 2002-09-15 11:07 nathan
0 siblings, 0 replies; 3+ messages in thread
From: nathan @ 2002-09-15 11:07 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nathan, nathan
Synopsis: using declarations screw this pointer
State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Sun Sep 15 11:07:23 2002
State-Changed-Why:
2002-09-15 Nathan Sidwell <nathan@codesourcery.com>
PR c++/7919
* call.c (build_over_call): Convert this pointer for fns found by
using decls.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7919
^ permalink raw reply [flat|nested] 3+ messages in thread
* c++/7919: using declarations screw this pointer
@ 2002-09-14 12:16 nathan
0 siblings, 0 replies; 3+ messages in thread
From: nathan @ 2002-09-14 12:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 7919
>Category: c++
>Synopsis: using declarations screw this pointer
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Sep 14 12:16:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: nathan
>Release: 3.3 cvs
>Organization:
>Environment:
>Description:
using declarations to offset bases get wrong this pointer
>How-To-Repeat:
the attached program exits with status 1, it should
exit with status zero. Base::Return gets the unadjusted
Derived this pointer.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="using.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="using.cc"
c3RydWN0IEJhc2UgewogIGludCBtOwogIHZvaWQgKlJldHVybiAoKSB7IHJldHVybiB0aGlzOyB9
Cn07CgpzdHJ1Y3QgRGVyaXZlZCA6IEJhc2UgewogIHVzaW5nIEJhc2U6OlJldHVybjsKICB2aXJ0
dWFsIH5EZXJpdmVkICgpIHt9Cn07CgppbnQgbWFpbiAoKQp7CiAgRGVyaXZlZCBkOwogIAogIHJl
dHVybiBzdGF0aWNfY2FzdCA8QmFzZSAqPiAoJmQpICE9IGQuUmV0dXJuICgpOwp9Cg==
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-09-15 18:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-14 12:24 c++/7919: using declarations screw this pointer nathan
-- strict thread matches above, loose matches on Subject: below --
2002-09-15 11:07 nathan
2002-09-14 12:16 nathan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).