From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27166 invoked by alias); 6 May 2003 22:56:06 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 26880 invoked by uid 71); 6 May 2003 22:56:03 -0000 Resent-Date: 6 May 2003 22:56:03 -0000 Resent-Message-ID: <20030506225603.26879.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, notbob@tessellation.com Received: (qmail 20588 invoked by uid 48); 6 May 2003 22:52:02 -0000 Message-Id: <20030506225202.20587.qmail@sources.redhat.com> Date: Tue, 06 May 2003 22:56:00 -0000 From: notbob@tessellation.com Reply-To: notbob@tessellation.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/10649: is_pointer reports pointer to member function is not a pointer X-SW-Source: 2003-05/txt/msg00421.txt.bz2 List-Id: >Number: 10649 >Category: c++ >Synopsis: is_pointer reports pointer to member function is not a pointer >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue May 06 22:56:02 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Robert Allan Schwartz >Release: gcc version 3.2 20020927 (prerelease) >Organization: >Environment: in bash via cygwin on windows 98 se >Description: I apologize in advance if I'm not reporting this "bug" absolutely correctly. I haven't done this before. I appreciate your patience. Thank you. I believe my template should report void (i_am_a_class::*)(void) is a pointer, but instead it returns false. Is this "pilot error" or a compiler bug? >How-To-Repeat: g++ is_pointer.cpp ./a.exe >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="is_pointer.cpp" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="is_pointer.cpp" dGVtcGxhdGUgPHR5cGVuYW1lIFQ+DQpjbGFzcyBpc19wb2ludGVyIHsgcHVibGljOiBzdGF0aWMg Y29uc3QgYm9vbCB2YWx1ZSA9IGZhbHNlOyB9Ow0KDQp0ZW1wbGF0ZSA8dHlwZW5hbWUgVD4NCmNs YXNzIGlzX3BvaW50ZXI8VCAqPiB7IHB1YmxpYzogc3RhdGljIGNvbnN0IGJvb2wgdmFsdWUgPSB0 cnVlOyB9Ow0KDQojaW5jbHVkZSA8aW9zdHJlYW0+DQoNCmNsYXNzIGlfYW1fYV9jbGFzcyB7IH07 DQoNCmludCBtYWluKCkNCnsNCglzdGQ6OmNvdXQgPDwgImlzX3BvaW50ZXI8dm9pZCAoaV9hbV9h X2NsYXNzOjoqKSh2b2lkKT46OnZhbHVlID0gIiA8PCBpc19wb2ludGVyPHZvaWQgKGlfYW1fYV9j bGFzczo6Kikodm9pZCk+Ojp2YWx1ZSA8PCBzdGQ6OmVuZGw7DQoNCglyZXR1cm4gMDsNCn0NCg==