This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17148] Internal compiler error 19970302.
- 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: 23 Aug 2004 12:45:35 -0000
- Subject: [Bug c++/17148] Internal compiler error 19970302.
- References: <20040823121140.17148.rene@halotec.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-08-23 12:45 -------
The bug can be reduced to
===================================
struct A {};
struct B : A
{
static int foo() { return 1; }
int i[B::foo()];
};
===================================
which is invalid. This is a duplicate of PR 226.
*** This bug has been marked as a duplicate of 226 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords| |ice-on-invalid-code
Resolution| |DUPLICATE
Target Milestone|--- |3.0.x
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17148