public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "nathan at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/19497] [3.4/4.0/4.1 regression] Invalid declaration in template diagnosed too late Date: Wed, 08 Jun 2005 11:51:00 -0000 [thread overview] Message-ID: <20050608115109.19885.qmail@sourceware.org> (raw) In-Reply-To: <20050118085126.19497.reichelt@gcc.gnu.org> ------- Additional Comments From nathan at gcc dot gnu dot org 2005-06-08 11:51 ------- 2005-06-08 Nathan Sidwell <nathan@codesourcery.com> PR c++/19497 * cp-tree.def (USING_DECL): Update documentation. * cp-tree.h (DECL_DEPENDENT_P): New. (USING_DECL_DECLS, USING_DECL_SCOPE): New. * class.c (handle_using_decl): Move most of the processing to ... * name-lookup.c (do_class_using_decl): ... here. Make stricter. (push_using_decl): Use USING_DECL_SCOPE. (cp_emit_debug_info_for_using): Make extern. * cxx-pretty-print.c (pp_cxx_statement) <USING_DECL case>: Adjust. * name-lookup.h (cp_emit_debug_info_for_using): Declare. * pt.c (tsubst_decl) <USING_DECL case>: Use do_class_using_decl when tsubsting. (tsubst_expr): Use USING_DECL_SCOPE. * search.c (lookup_field_1): Use DECL_DEPENDENT_P. * semantics.c (finish_member_declaration): Likewise. Fixed mainline, will not fix on 4.0 -- What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19497
next prev parent reply other threads:[~2005-06-08 11:51 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-01-18 8:51 [Bug c++/19497] New: [3.4/4.0 " reichelt at gcc dot gnu dot org 2005-01-18 14:01 ` [Bug c++/19497] " pinskia at gcc dot gnu dot org 2005-01-18 14:43 ` pinskia at gcc dot gnu dot org 2005-02-14 18:53 ` nathan at gcc dot gnu dot org 2005-05-19 17:36 ` [Bug c++/19497] [3.4/4.0/4.1 " mmitchel at gcc dot gnu dot org 2005-06-08 11:49 ` cvs-commit at gcc dot gnu dot org 2005-06-08 11:51 ` nathan at gcc dot gnu dot org [this message] 2005-06-08 12:42 ` 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=20050608115109.19885.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: linkBe 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).