This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Fix PR number in recent commit


Volker pointed out that g++.dg/template/crash31.C had the wrong PR
number (it actually contained the PR of a duplicate test case for the
same problem) and that the cp/ChangeLog contained an entirely bogus PR
number for the same test case.   Fixed with the attached patch.
(ChangeLog diff posted because, for cp/ChangeLog, that is all that
changed.)

Volker also asked if we need a separate test case for 13268.  I see no
need for that; the problem is essentially identical.

Committed as obvious to mainline.

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/ChangeLog,v
retrieving revision 1.4556
diff -c -5 -p -r1.4556 ChangeLog
*** ChangeLog	23 Dec 2004 16:31:16 -0000	1.4556
--- ChangeLog	23 Dec 2004 16:36:17 -0000
***************
*** 38,48 ****
  
  	PR c++/18378
  	* call.c (convert_like_real): Do not permit the use of a copy
  	constructor to copy a packed field.
  
! 	PR c++/17413
  	* decl.c (grokdeclarator): Return error_mark_node, not
  	void_type_node, to indicate errors.
  	* parser.c (cp_parser_template_parameter_list): Robustify.
  	(cp_parser_template_parameter): Likewise.
  
--- 38,48 ----
  
  	PR c++/18378
  	* call.c (convert_like_real): Do not permit the use of a copy
  	constructor to copy a packed field.
  
! 	PR c++/19063
  	* decl.c (grokdeclarator): Return error_mark_node, not
  	void_type_node, to indicate errors.
  	* parser.c (cp_parser_template_parameter_list): Robustify.
  	(cp_parser_template_parameter): Likewise.
  
2004-12-23  Mark Mitchell  <mark@codesourcery.com>

	* g++.dg/template/crash31.C: Correct embedded PR number.

Index: g++.dg/template/crash31.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/template/crash31.C,v
retrieving revision 1.1
diff -c -5 -p -r1.1 crash31.C
*** g++.dg/template/crash31.C	22 Dec 2004 03:34:54 -0000	1.1
--- g++.dg/template/crash31.C	23 Dec 2004 16:36:39 -0000
***************
*** 1,3 ****
! // PR c++/13268
  
  template<operator< struct A {}; // { dg-error "" }
--- 1,3 ----
! // PR c++/19063
  
  template<operator< struct A {}; // { dg-error "" }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]