This is the mail archive of the gcc-bugs@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]

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



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


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