[IBM XLC++ 9.0] ICE on placement new and explicit dtor invocation -----------------------------------------------------------------
Key: STDCXX-490 URL: https://issues.apache.org/jira/browse/STDCXX-490 Project: C++ Standard Library Issue Type: Bug Components: External Environment: IBM XL C/C++ 9.0 on AIX Reporter: Martin Sebor $ cat t.cpp && xlC -qversion && xlC t.cpp #include <new> template <int> struct S { S () { } template <int N> S (S<N>) { } }; int main () { typedef S<1> B; unsigned char buf [sizeof (B)] = ""; B* b = new (buf) B (S<2>()); for (int i = 0; i < sizeof buf; ++i); b->~B (); } IBM XL C/C++ Enterprise Edition for AIX, V9.0 Version: 09.00.0000.0000 /nfs/packages/mdx/aix/compilers/5.2.0/va90/root/usr/vacpp/bin/.orig/xlC: 1501-230 (S) Internal compiler error; please contact your Service Representative -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.