This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17524] [3.3/3.4/4.0 regression] ICE with initializing a variable of type void
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Sep 2004 19:58:57 -0000
- Subject: [Bug c++/17524] [3.3/3.4/4.0 regression] ICE with initializing a variable of type void
- References: <20040916163055.17524.bangerth@dealii.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-09-16 19:58 -------
Here's something shorter:
==============================
template<typename T> struct A
{
static const T i;
};
A<void> a;
==============================
We ICE since gcc 3.0.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-invalid-code,
| |monitored
Known to fail| |3.0 3.4.2 4.0.0
Known to work| |2.95.3
Last reconfirmed|0000-00-00 00:00:00 |2004-09-16 19:58:55
date| |
Summary|ICE with initializing a |[3.3/3.4/4.0 regression] ICE
|variable of type void |with initializing a variable
| |of type void
Target Milestone|--- |3.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17524