public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dodji at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/37093] [4.2/4.3 Regression] ICE with pointer to member template parameters
Date: Tue, 03 Nov 2009 09:24:00 -0000	[thread overview]
Message-ID: <20091103092356.30875.qmail@sourceware.org> (raw)
In-Reply-To: <bug-37093-87@http.gcc.gnu.org/bugzilla/>



------- Comment #24 from dodji at gcc dot gnu dot org  2009-11-03 09:23 -------
Subject: Bug 37093

Author: dodji
Date: Tue Nov  3 09:23:41 2009
New Revision: 153841

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153841
Log:
Fix PR c++/37093

gcc/cp/ChangeLog:

        PR c++/37093
        * pt.c (check_valid_ptrmem_cst_expr): New function.
        (convert_nontype_argument): Use it to output an error for
        illegal pointer to member expressions used as template arguments.

gcc/testsuite/ChangeLog:

        PR c++/37093
        * g++.dg/other/ptrmem10.C: New test.
        * g++.dg/other/ptrmem11.C: Likewise.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/other/ptrmem10.C
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/other/ptrmem11.C
Modified:
    branches/gcc-4_3-branch/gcc/cp/ChangeLog
    branches/gcc-4_3-branch/gcc/cp/pt.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


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


  parent reply	other threads:[~2009-11-03  9:24 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-12 11:50 [Bug c++/37093] New: [4.2/4.3/4.4 " jakub at gcc dot gnu dot org
2008-08-12 11:51 ` [Bug c++/37093] " jakub at gcc dot gnu dot org
2008-08-13 16:18 ` bangerth at dealii dot org
2008-08-13 20:38 ` reichelt at gcc dot gnu dot org
2008-08-13 20:58 ` reichelt at gcc dot gnu dot org
2008-08-13 21:01 ` reichelt at gcc dot gnu dot org
2008-08-22 15:24 ` rguenth at gcc dot gnu dot org
2008-08-22 16:54 ` maksverver at geocities dot com
2008-08-27 22:12 ` jsm28 at gcc dot gnu dot org
2008-12-27 14:28 ` pinskia at gcc dot gnu dot org
2008-12-29  6:56 ` pinskia at gcc dot gnu dot org
2008-12-30  1:31 ` pinskia at gcc dot gnu dot org
2008-12-30  1:39 ` pinskia at gcc dot gnu dot org
2008-12-30  1:42 ` pinskia at gcc dot gnu dot org
2008-12-30  5:23 ` pinskia at gcc dot gnu dot org
2008-12-30  5:36 ` pinskia at gcc dot gnu dot org
2008-12-30 22:23 ` pinskia at gcc dot gnu dot org
2009-01-24 10:26 ` rguenth at gcc dot gnu dot org
2009-01-30 15:49 ` bangerth at gmail dot com
2009-01-30 15:52 ` bangerth at gmail dot com
2009-04-21 22:48 ` [Bug c++/37093] [4.2/4.3/4.4/4.5 " pinskia at gcc dot gnu dot org
2009-08-04 12:42 ` rguenth at gcc dot gnu dot org
2009-10-30 16:03 ` dodji at gcc dot gnu dot org
2009-10-31  7:06 ` dodji at gcc dot gnu dot org
2009-11-02 19:55 ` dodji at gcc dot gnu dot org
2009-11-02 19:59 ` dodji at gcc dot gnu dot org
2009-11-02 20:08 ` [Bug c++/37093] [4.2/4.3/ " dodji at gcc dot gnu dot org
2009-11-03  9:24 ` dodji at gcc dot gnu dot org [this message]
2009-11-03  9:25 ` [Bug c++/37093] [4.2/4.3 " dodji at gcc dot gnu dot org
2009-11-04 19:24 ` dodji at gcc dot gnu dot org
2009-11-09 21:54 ` reichelt at gcc dot gnu dot org
2010-02-09 12:08 ` laikechen at gmail dot com
2010-07-24 18:20 ` 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=20091103092356.30875.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).