public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/17011] [3.4/4.0 regression] invalid default parameter diagnosed too late
Date: Sat, 04 Dec 2004 06:45:00 -0000	[thread overview]
Message-ID: <20041204064531.6986.qmail@sourceware.org> (raw)
In-Reply-To: <20040812193920.17011.reichelt@gcc.gnu.org>


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-04 06:45 -------
Subject: Bug 17011

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	lerdsuwa@gcc.gnu.org	2004-12-04 06:45:14

Modified files:
	gcc/cp         : ChangeLog pt.c semantics.c 
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/g++.dg/template: error15.C instantiate3.C 

Log message:
	PR c++/17011, c++/17971
	* pt.c (tsubst_copy) <FIELD_DECL case>: Check and diagnose
	invalid field.
	(tsubst_copy_and_build) <COMPONENT_REF case>: Check
	error_mark_node after member substitution.
	* semantics.c (finish_id_expression): Call
	finish_non_static_data_member for non-dependent FIELD_DECL.
	
	* g++.dg/template/error15.C: Adjust expected error.
	* g++.dg/template/instantiate3.C: Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4514&r2=1.4515
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.953&r2=1.954
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&r1=1.450&r2=1.451
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4713&r2=1.4714
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/error15.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/instantiate3.C.diff?cvsroot=gcc&r1=1.3&r2=1.4



-- 


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


  parent reply	other threads:[~2004-12-04  6:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-12 19:39 [Bug c++/17011] New: [3.4/3.5 " reichelt at gcc dot gnu dot org
2004-08-12 19:40 ` [Bug c++/17011] " reichelt at gcc dot gnu dot org
2004-08-12 21:12 ` bangerth at dealii dot org
2004-08-12 22:21 ` mark at codesourcery dot com
2004-08-12 22:55 ` giovannibajo at libero dot it
2004-08-12 23:59 ` bangerth at dealii dot org
2004-10-07 16:23 ` [Bug c++/17011] [3.4/4.0 " pinskia at gcc dot gnu dot org
2004-10-12 12:48 ` pinskia at gcc dot gnu dot org
2004-11-01  0:45 ` mmitchel at gcc dot gnu dot org
2004-11-28  6:04 ` lerdsuwa at gcc dot gnu dot org
2004-12-03 10:24 ` lerdsuwa at gcc dot gnu dot org
2004-12-04  6:45 ` cvs-commit at gcc dot gnu dot org [this message]
2004-12-04  6:55 ` cvs-commit at gcc dot gnu dot org
2004-12-04  7:06 ` lerdsuwa 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=20041204064531.6986.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).