[Bug c++/27278] [4.0/4.1/4.2 regression] ICE with invalid operator declaration
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Apr 30 10:37:00 GMT 2006
------- Comment #3 from reichelt at gcc dot gnu dot org 2006-04-30 10:37 -------
Subject: Bug 27278
Author: reichelt
Date: Sun Apr 30 10:37:24 2006
New Revision: 113390
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113390
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:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/operator7.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
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27278
More information about the Gcc-bugs
mailing list