public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/8239: gcc 3.2 fails to compile simple program with member pointers
@ 2002-10-16  1:06 honza
  0 siblings, 0 replies; 2+ messages in thread
From: honza @ 2002-10-16  1:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         8239
>Category:       c++
>Synopsis:       gcc 3.2 fails to compile simple program with member pointers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 16 01:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jan Kratochvil
>Release:        g++ (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
>Organization:
>Environment:
RedHat Linux 8.0 clean installation on AMD Athlon
>Description:
When trying to compile simple code using member pointers on functions (minimal example included) gcc 3.2 fails with message 
bug.cpp:21: Internal compiler error in resolve_offset_ref, at cp/init.c:1886
>How-To-Repeat:

>Fix:
don't know
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/x-gzip; name="bug.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.tar.gz"

H4sIABSorD0AA+2WbW/aMBDHedt8ipMmbaEPwSQl6cJWiaGyIrEWAX2xV50JDrEU7Mh26MPU774L
pY/SVu0F3YP8UyQr5zvfwenvy7ScN2obhpB9EkUtXAmJwv0n65oaiVqtoOkHYRDUSJNEaILWpgur
KLWhCqCWSXFNf+H30v4/yhT7P9/Z8WRpitJsJgf2k4TP+v64/0EUPPSfROjvt4KoBmQz5TzF9t9L
iiKGvoC0FInhUsA3LgwsKBdu/V3s3Ln4zcrLMCVoDolcFDxnCphSUgEXoJiW+ZKdyzTVzJwrlu4C
NZAUDS648ZK4eXAQOsOcUc1Al9MFN0AxZ54DZsDwQiqz61xwk0GBb0omTGs2Ay1LlTDgKdACrYXi
1DDPGTMGH85GgzgzpogbDTzkmuc59RSbZRQTysW9rXEI6apKbVS5+o3ac/70X/9XUOl/3eCN5XhR
/63oXv9+2Kz03wyJ1f9r8IaLJC9nKCVtZlx62aHjJDnVGjrgfHeKcprzJHa2lpLPgLqrxe3E8XZS
dxOUkYE0l9TU6+21z/SxGS7RftN2nNUWhlEXfn4E5rt5cJ268PSk2+37q6nyq1c1bnVgm8JHEOwC
OlgG3Tuk7tsqw3RVlmKmVAIIVmI1/5y7+b9kSuO1uJEcvzX/V99/fhgGVv+vAfYe3M/dbh0Czwef
EJ+8JwG4Ixy8xyi7ARflJRx4pNrfi+pOVxZXis8zAy4GVQHQUziKxzI1F1Qx6MlSzGg1Y3fxcyHx
nEnGNeCTVm567dYGjW8mY3fjvZrPCZ7NxbzS/YzfTmmAScbwVIw/OXUwUlFhrtogpAG2ZGIV9+Vo
1D3unEw6n/qD/uQroKnXn5wcjcfQOx3hTTbsjCb97tmgM4Lh2Wh4Oj7yHHsXWCwWi8VisVgsFovF
YrFYLBaLxWKxWP4/fgC4OUmmACgAAA==


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/8239: gcc 3.2 fails to compile simple program with member pointers
@ 2002-10-30  8:16 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2002-10-30  8:16 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, honza, nobody

Synopsis: gcc 3.2 fails to compile simple program with member pointers

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Wed Oct 30 08:16:42 2002
State-Changed-Why:
    This is a duplicate of PR/2521. The code is illegal, since
    it should be &C::m instead of &(C::M) for pointers to member
    functions. There was a long discussion about this starting
    here:
      http://gcc.gnu.org/ml/gcc-patches/2002-07/msg01427.html
    
    The problem is fixed on mainline, but not 3.2.1. I'll ask
    the people that fixed it whether they want to backport the
    fix.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8239


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-30 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-16  1:06 c++/8239: gcc 3.2 fails to compile simple program with member pointers honza
2002-10-30  8:16 bangerth

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).