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++/27278] [4.0/4.1/4.2 regression] ICE with invalid operator declaration



------- Comment #2 from reichelt at gcc dot gnu dot org  2006-04-30 10:34 -------
Subject: Bug 27278

Author: reichelt
Date: Sun Apr 30 10:34:05 2006
New Revision: 113389

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113389
Log:
        PR c++/27278
        * decl.c (grok_op_properties): Skip operators with invalid args
        when checking for class-type or enum-type args.

        * g++.dg/parse/operator7.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/parse/operator7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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