From mboxrd@z Thu Jan 1 00:00:00 1970 From: nathan@gcc.gnu.org To: nathan@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/1672 Date: Sun, 01 Apr 2001 00:00:00 -0000 Message-id: <20010118092600.18207.qmail@sourceware.cygnus.com> X-SW-Source: 2001-q1/msg00434.html List-Id: The following reply was made to PR c++/1672; it has been noted by GNATS. From: nathan@gcc.gnu.org To: gcc-gnats@gcc.gnu.org, mac@dgp.toronto.edu, nathan@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: c++/1672 Date: 18 Jan 2001 09:24:42 -0000 Synopsis: dynamic_cast<> gives wrong value under certain circumstances Responsible-Changed-From-To: unassigned->nathan Responsible-Changed-By: nathan Responsible-Changed-When: Thu Jan 18 01:24:42 2001 Responsible-Changed-Why: patch in progress http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1672&database=gcc >>From nathan@gcc.gnu.org Sun Apr 01 00:00:00 2001 From: nathan@gcc.gnu.org To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/1587 Date: Sun, 01 Apr 2001 00:00:00 -0000 Message-id: <20010111095600.31326.qmail@sourceware.cygnus.com> X-SW-Source: 2001-q1/msg00188.html Content-length: 819 The following reply was made to PR c++/1587; it has been noted by GNATS. From: nathan@gcc.gnu.org To: gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org, syam@syam.dhs.org Cc: Subject: Re: c++/1587 Date: 11 Jan 2001 09:46:33 -0000 Synopsis: gcc segfaulting on undeclared member functions of a class State-Changed-From-To: feedback->closed State-Changed-By: nathan State-Changed-When: Thu Jan 11 01:46:33 2001 State-Changed-Why: The second attached code compiles producing nathan@uha:16>./cc1plus -fnew-abi incomming/1587.ii int A::get_a() int A::get_a() incomming/1587.ii: At global scope: incomming/1587.ii:15: no `int A::get_b()' member function declared in class `A' so it appears the bug has been fixed http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1587&database=gcc >>From nathan@codesourcery.com Sun Apr 01 00:00:00 2001 From: nathan@codesourcery.com To: gcc-gnats@gcc.gnu.org Subject: c++/2137: friend access and DR 209 Date: Sun, 01 Apr 2001 00:00:00 -0000 Message-id: <20010301094547.22425.qmail@sourceware.cygnus.com> X-SW-Source: 2001-q1/msg01838.html Content-length: 1294 >Number: 2137 >Category: c++ >Synopsis: friend access and DR 209 >Confidential: no >Severity: serious >Priority: high >Responsible: unassigned >State: open >Class: rejects-legal >Submitter-Id: net >Arrival-Date: Thu Mar 01 01:46:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Nathan >Release: unknown-1.0 >Organization: >Environment: CVS 20010228 >Description: The attached program produces a load of errors. There are two problems 1) some of the errors are on the wrong lines 2) DR209 removes the requirement that name designated by the friend declaration shall be accessible in the scope of the class containing the friend declaration. 3) g++ 2.95 accepted this code without error (regression) >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="DR209.ii" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="DR209.ii" Y2xhc3MgQQp7CiAgY2xhc3MgSW5uZXIge307CiAgSW5uZXIgZiAoSW5uZXIpOwogIHB1YmxpYzoK ICBBICgpOwp9OwoKY2xhc3MgQgp7CiAgZnJpZW5kIEE6OklubmVyIEE6OmYgKElubmVyKTsKICBm cmllbmQgY2xhc3MgQTo6SW5uZXI7CiAgaW50IHQ7Cn07CgpBOjpJbm5lciBBOjpmIChJbm5lciB0 KQp7CiAgQiBiOwogIGIudCA9IDE7CiAgcmV0dXJuIHQ7Cn0K