[Bug c++/26291] [4.1 regression] Invalid ellipsis in operator not diagnosed

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 2 12:21:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list