public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/32241] [4.1/4.2/4.3 regression] ICE trying to call x.~X(); in a template
Date: Sat, 10 Nov 2007 07:36:00 -0000	[thread overview]
Message-ID: <20071110073620.14278.qmail@sourceware.org> (raw)
In-Reply-To: <bug-32241-14668@http.gcc.gnu.org/bugzilla/>



------- Comment #5 from jakub at gcc dot gnu dot org  2007-11-10 07:36 -------
Subject: Bug 32241

Author: jakub
Date: Sat Nov 10 07:36:09 2007
New Revision: 130066

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130066
Log:
        PR c++/32241
        * pt.c (tsubst_copy_and_build) <case COMPONENT_REF>: If object_type
        is not scalar type, let finish_class_member_access_expr handle
        diagnostics.  Pass BIT_NOT_EXPR argument to
        finish_pseudo_destructor_expr.  Handle SCOPE_REF properly.

        * g++.dg/template/pseudodtor3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/template/pseudodtor3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32241


  parent reply	other threads:[~2007-11-10  7:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-07 10:30 [Bug c++/32241] New: Compiler segmentation fault when trying to call x.~X(); (X &x = f();) " rsalmin2 at cc dot hut dot fi
2007-06-07 10:31 ` [Bug c++/32241] " rsalmin2 at cc dot hut dot fi
2007-06-08  0:03 ` fang at csl dot cornell dot edu
2007-06-08 10:16 ` rguenth at gcc dot gnu dot org
2007-06-09 22:20 ` [Bug c++/32241] [4.1/4.2/4.3 regression] ICE trying to call x.~X(); " reichelt at gcc dot gnu dot org
2007-06-29 18:41 ` mmitchel at gcc dot gnu dot org
2007-11-08 11:49 ` jakub at gcc dot gnu dot org
2007-11-10  7:36 ` jakub at gcc dot gnu dot org [this message]
2007-11-10  7:53 ` [Bug c++/32241] [4.1/4.2 " jakub at gcc dot gnu dot org
2008-07-04 22:14 ` [Bug c++/32241] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-30 22:01 ` jsm28 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=20071110073620.14278.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: link
Be 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).