This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17323] ICE on invalid code if static member array initialized with size computed as division by zero
- From: "lerdsuwa at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Sep 2004 16:13:26 -0000
- Subject: [Bug c++/17323] ICE on invalid code if static member array initialized with size computed as division by zero
- References: <20040904185519.17323.niemayer@isg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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