public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/22369] C++ produces mis-matched types with pointers to member functions Date: Mon, 20 Aug 2007 12:32:00 -0000 [thread overview] Message-ID: <20070820123214.21551.qmail@sourceware.org> (raw) In-Reply-To: <bug-22369-6528@http.gcc.gnu.org/bugzilla/> ------- Comment #5 from rguenth at gcc dot gnu dot org 2007-08-20 12:32 ------- Subject: Bug 22369 Author: rguenth Date: Mon Aug 20 12:31:44 2007 New Revision: 127647 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127647 Log: 2007-08-20 Richard Guenther <rguenther@suse.de> PR c++/22369 PR c++/22451 * call.c (build_new_method_call): Convert initializer to the basetype. * init.c (build_aggr_init): Do not fiddle with types. (build_vec_delete_1): Use correct type for POINTER_PLUS_EXPR. * except.c (build_throw): Do not drop qualifiers for the pointer type. * typeck.c (get_member_function_from_ptrfunc): Do not fiddle with types, instead convert. (build_ptrmemfunc1): Convert to the target type for initialization. (gfc_trans_allocate): Convert result to target type. * cp-objcp-common.c (cxx_get_alias_set): Pointers to pointer-to-member structures shall have alias set zero as well. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/call.c trunk/gcc/cp/cp-objcp-common.c trunk/gcc/cp/except.c trunk/gcc/cp/init.c trunk/gcc/cp/typeck.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22369
next prev parent reply other threads:[~2007-08-20 12:32 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-22369-6528@http.gcc.gnu.org/bugzilla/> 2005-12-05 20:10 ` pinskia at gcc dot gnu dot org 2007-07-24 15:56 ` rguenth at gcc dot gnu dot org 2007-08-20 12:32 ` rguenth at gcc dot gnu dot org [this message] 2007-08-20 13:24 ` rguenth at gcc dot gnu dot org 2005-07-08 15:32 [Bug c++/22369] New: " pinskia at gcc dot gnu dot org 2005-07-08 16:30 ` [Bug c++/22369] " pinskia at gcc dot gnu dot org 2005-08-05 4:46 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20070820123214.21551.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).