This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12989] [3.4 Regression] internal compiler error: tree check: expected field_decl
- 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: 8 Dec 2003 22:52:23 -0000
- Subject: [Bug c++/12989] [3.4 Regression] internal compiler error: tree check: expected field_decl
- References: <20031110081908.12989.msk@tepkom.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-12-08 22:52 -------
Here's a similar testcase that crashes since gcc 2.95.x:
==========================================
struct A
{
int foo() { return sizeof(bar); }
int bar();
};
==========================================
With checking enabled I don't even get a decent error message before the
tree check failure.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12989