This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]