[Bug c++/17148] Internal compiler error 19970302.

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Aug 23 12:45:00 GMT 2004


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



More information about the Gcc-bugs mailing list