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++/17524] [3.3/3.4/4.0 regression] ICE with initializing a variable of type void


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


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