public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/55127] [4.8 regression] Incorrect "dependent scope" error with partial specialization of non-type parameter
Date: Sat, 08 Dec 2012 03:32:00 -0000	[thread overview]
Message-ID: <bug-55127-4-hkZ0tEWN4O@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55127-4@http.gcc.gnu.org/bugzilla/>


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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2012-12-08 03:31:43 UTC ---
Author: jason
Date: Sat Dec  8 03:31:37 2012
New Revision: 194318

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194318
Log:
    PR c++/55127
    * search.c (accessible_in_template_p): New.
    * cp-tree.h: Declare it.
    * pt.c (instantiation_dependent_scope_ref_p): New.
    (value_dependent_expression_p): Use it.
    (instantiation_dependent_r): Likewise.
    * semantics.c (finish_decltype_type): Handle SCOPE_REF.

Added:
    trunk/gcc/testsuite/g++.dg/template/defarg16.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/search.c
    trunk/gcc/cp/semantics.c


  parent reply	other threads:[~2012-12-08  3:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-29 20:15 [Bug c++/55127] New: [4.8 regression] Incorrect "dependent scope" error with partial specialisation " gccbugs at qo dot cx
2012-10-29 20:18 ` [Bug c++/55127] " gccbugs at qo dot cx
2012-11-25 15:55 ` [Bug c++/55127] [4.8 regression] Incorrect "dependent scope" error with partial specialization " rguenth at gcc dot gnu.org
2012-12-06 15:33 ` paolo.carlini at oracle dot com
2012-12-07 10:18 ` paolo.carlini at oracle dot com
2012-12-07 13:27 ` rguenth at gcc dot gnu.org
2012-12-07 13:28 ` hjl.tools at gmail dot com
2012-12-07 14:30 ` paolo.carlini at oracle dot com
2012-12-07 19:30 ` jason at gcc dot gnu.org
2012-12-08  3:32 ` jason at gcc dot gnu.org [this message]
2012-12-08  3:33 ` jason 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-55127-4-hkZ0tEWN4O@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).