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++/17323] ICE on invalid code if static member array initialized with size computed as division by zero


------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2004-09-06 16:13 -------
Confirm the ICE.

I don't know if this workaround is good enough - A<B> now only
counts the size of B only, the 'x' and 'i' variables not included:

  class B { ... };
  class C: public B, A<B> { ... };


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-06 16:13:25
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17323


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