[Bug c++/12989] [3.4 Regression] internal compiler error: tree check: expected field_decl

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Dec 8 22:52:00 GMT 2003

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


More information about the Gcc-bugs mailing list