This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26291] [4.1 regression] Invalid ellipsis in operator not diagnosed
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Mar 2006 12:20:55 -0000
- Subject: [Bug c++/26291] [4.1 regression] Invalid ellipsis in operator not diagnosed
- References: <bug-26291-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from reichelt at gcc dot gnu dot org 2006-03-02 12:20 -------
Subject: Bug 26291
Author: reichelt
Date: Thu Mar 2 12:20:52 2006
New Revision: 111637
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111637
Log:
PR c++/26291
* decl.c (grok_op_properties): Check for ellipsis in arguments of
operators.
* g++.dg/other/ellipsis1.C: New test.
* g++.dg/parse/operator4.C: Adjust error marker.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/other/ellipsis1.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/decl.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/operator4.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26291