public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dodji at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/47172] [4.6 Regression] [C++0x] cannot call member function without object
Date: Thu, 17 Feb 2011 06:52:00 -0000	[thread overview]
Message-ID: <bug-47172-4-8b45kIKVdh@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-47172-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #9 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-02-17 06:50:40 UTC ---
Author: dodji
Date: Thu Feb 17 06:50:35 2011
New Revision: 170240

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

gcc/cp/

    PR c++/47172
    * pt.c (finish_call_expr): Consider a call expression that has a
    dependent "this" pointer as being dependent.  Add comments.
    (dependent_type_p, type_dependent_expression_p): Update comments.

gcc/testsuite/

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

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


  parent reply	other threads:[~2011-02-17  6:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-04 21:42 [Bug c++/47172] New: " marc.glisse at normalesup dot org
2011-01-04 22:28 ` [Bug c++/47172] [4.6 Regression] " redi at gcc dot gnu.org
2011-01-04 22:50 ` hjl.tools at gmail dot com
2011-01-19 20:54 ` jakub at gcc dot gnu.org
2011-02-07 20:16 ` dodji at gcc dot gnu.org
2011-02-09 14:28 ` dodji at gcc dot gnu.org
2011-02-11  7:48 ` dodji at gcc dot gnu.org
2011-02-11 11:09 ` dodji at gcc dot gnu.org
2011-02-11 15:40 ` hjl.tools at gmail dot com
2011-02-11 17:40 ` dodji at gcc dot gnu.org
2011-02-14  8:40 ` ebotcazou at gcc dot gnu.org
2011-02-17  6:52 ` dodji at gcc dot gnu.org [this message]
2011-02-17  7:20 ` dodji at gcc dot gnu.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=bug-47172-4-8b45kIKVdh@http.gcc.gnu.org/bugzilla/ \
    --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).