public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13950] [DR176] lookup of dependent base name
[not found] <bug-13950-253@http.gcc.gnu.org/bugzilla/>
@ 2009-11-13 20:09 ` jason at gcc dot gnu dot org
2009-11-16 23:29 ` jason at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-13 20:09 UTC (permalink / raw)
To: gcc-bugs
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2009-04-16 16:40:38 |2009-11-13 20:08:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13950
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/13950] [DR176] lookup of dependent base name
[not found] <bug-13950-253@http.gcc.gnu.org/bugzilla/>
2009-11-13 20:09 ` [Bug c++/13950] [DR176] lookup of dependent base name jason at gcc dot gnu dot org
@ 2009-11-16 23:29 ` jason at gcc dot gnu dot org
2009-11-17 1:35 ` jason at gcc dot gnu dot org
2009-11-17 4:04 ` jason at gcc dot gnu dot org
3 siblings, 0 replies; 4+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-16 23:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jason at gcc dot gnu dot org 2009-11-16 23:29 -------
Subject: Bug 13950
Author: jason
Date: Mon Nov 16 23:29:25 2009
New Revision: 154223
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154223
Log:
PR c++/13950, DR 176
* search.c (lookup_field_r): Allow lookup to find the
injected-class-name from a template base.
(template_self_reference_p): Remove.
* decl.c (make_typename_type): Diagnose ambiguity. Use
maybe_get_template_decl_from_type_decl.
* parser.c (cp_parser_template_name): Pass true to is_template
rather than use maybe_get_template_decl_from_type_decl.
(cp_parser_lookup_name): Use maybe_get_template_decl_from_type_decl.
* pt.c (maybe_get_template_decl_from_type_decl): Handle ambiguity.
Use DECL_SELF_REFERENCE_P.
* parser.c (cp_parser_parse_and_diagnose_invalid_type_name):
Avoid duplicate ambiguity error.
* error.c (dump_decl): Don't say "typedef" for injected-class-name.
* pt.c (convert_template_argument): Tweak logic.
Added:
trunk/gcc/testsuite/g++.dg/template/injected1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/cp/error.c
trunk/gcc/cp/parser.c
trunk/gcc/cp/pt.c
trunk/gcc/cp/search.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/template/inherit.C
trunk/gcc/testsuite/g++.old-deja/g++.brendan/crash56.C
trunk/gcc/testsuite/g++.old-deja/g++.pt/lookup8.C
trunk/gcc/testsuite/g++.old-deja/g++.pt/ttp22.C
trunk/gcc/testsuite/g++.old-deja/g++.pt/ttp23.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13950
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/13950] [DR176] lookup of dependent base name
[not found] <bug-13950-253@http.gcc.gnu.org/bugzilla/>
2009-11-13 20:09 ` [Bug c++/13950] [DR176] lookup of dependent base name jason at gcc dot gnu dot org
2009-11-16 23:29 ` jason at gcc dot gnu dot org
@ 2009-11-17 1:35 ` jason at gcc dot gnu dot org
2009-11-17 4:04 ` jason at gcc dot gnu dot org
3 siblings, 0 replies; 4+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-17 1:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from jason at gcc dot gnu dot org 2009-11-17 01:34 -------
Fixed for 4.5.
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13950
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/13950] [DR176] lookup of dependent base name
[not found] <bug-13950-253@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2009-11-17 1:35 ` jason at gcc dot gnu dot org
@ 2009-11-17 4:04 ` jason at gcc dot gnu dot org
3 siblings, 0 replies; 4+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-17 4:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from jason at gcc dot gnu dot org 2009-11-17 04:04 -------
*** This bug has been marked as a duplicate of 189 ***
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13950
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-11-17 4:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-13950-253@http.gcc.gnu.org/bugzilla/>
2009-11-13 20:09 ` [Bug c++/13950] [DR176] lookup of dependent base name jason at gcc dot gnu dot org
2009-11-16 23:29 ` jason at gcc dot gnu dot org
2009-11-17 1:35 ` jason at gcc dot gnu dot org
2009-11-17 4:04 ` jason at gcc dot gnu dot org
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).