[Bug c++/17323] ICE on invalid code if static member array initialized with size computed as division by zero

lerdsuwa at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Sep 6 16:13:00 GMT 2004


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



More information about the Gcc-bugs mailing list