[VAC++ 8.0/Linux] ICE on unnamed struct in template specialization
------------------------------------------------------------------

         Key: STDCXX-141
         URL: http://issues.apache.org/jira/browse/STDCXX-141
     Project: C++ Standard Library
        Type: Bug
  Components: External  
 Environment: IBM XL C/C++ Advanced Edition V8.0 for Linux
    Reporter: Martin Sebor


The latest Visual Age C++ on Linux cores on the snippet below. This affects 
wcodecvt.cpp -- see
http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200602.mbox/[EMAIL
 PROTECTED]

$ cat t.cpp && xlC -F $VACCFG -qversion && xlC -F $VACCFG t.cpp
#include <string.h>

template <class> struct S { };

template<> struct S<int>
{
    S ();
};

S<int>::S ()
{
    static struct { int i; } s;
    s.i = 0;
}
IBM XL C/C++ Advanced Edition V8.0 for Linux   
Version: 08.00.0000.0000  
xlC: 1501-230 Internal compiler error; please contact your Service 
Representative


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to