You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/07/20 21:42:06 UTC

[jira] Created: (STDCXX-490) [IBM XLC++ 9.0] ICE on placement new and explicit dtor invocation

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


[jira] Commented: (STDCXX-490) [IBM XLC++ 9.0] ICE on placement new and explicit dtor invocation

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540905 ] 

Martin Sebor commented on STDCXX-490:
-------------------------------------

-------- Original Message --------
Subject: Re: PMR 30355,756,000
Date: Mon, 5 Nov 2007 14:04:29 -0500
From: Lowell Crotin <la...@ca.ibm.com>
To: martin.sebor@roguewave.com

Hi Martin,

I'm happy to announce that the XL C/C++ Enterprise Edition V9.0 for AIX
October 2007 PTF is now available.  Below are links to the compiler and
runtime PTFs:

October 2007 PTF for XL C/C++ Enterprise Edition for AIX, V9.0
http://www.ibm.com/support/docview.wss?uid=swg24017394

October 2007 IBM C++ Runtime Environment Components for AIX
http://www.ibm.com/support/docview.wss?uid=swg24017393


Please apply this PTF and confirm that the issue has been resolved.  I will
contact you again on Monday, November 12, 2007, if I have not heard from
you by then.  If you have any questions or concerns, I would be happy to
help.

Regards,
Lowell Crotin
IBM XL C, C++, and Fortran Compilers Service Team
IBM Software Group - Toronto Lab
+1 905-413-3184


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


[jira] Closed: (STDCXX-490) [IBM XLC++ 9.0] ICE on placement new and explicit dtor invocation

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor closed STDCXX-490.
-------------------------------

    Resolution: Fixed

IBM says this is fixed in the latest XLC++ patch. We'll verify the fix once we have the compiler installed. Closing.

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


[jira] Commented: (STDCXX-490) [IBM XLC++ 9.0] ICE on placement new and explicit dtor invocation

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515903 ] 

Martin Sebor commented on STDCXX-490:
-------------------------------------

-------- Original Message --------
Subject: Re:PMR# 30355,756. Remote email support for Rational Developer Tools
Date: 	Thu, 26 Jul 2007 19:01:54 -0400
From: 	PWISVTS <pw...@us.ibm.com>
To: 	martin.sebor@roguewave.com

We have received the Remote E-mail Support (AAQ) item that you
submitted.  It has been assigned a tracking number.  Please
refer to this number in any future correspondence: PMR# 30355,756.


Thank you,

Wanda Torres
IBM Corporation
PWISV Technical Support
pwisvts@us.ibm.com
(800) 426-9990 or (770) 863-2048


*pwisvts@us.ibm.com*

07/26/2007 05:56 PM

	
To
	PWISVTS/Atlanta/IBM@IBMUS
cc
	
Subject
	Remote email support for Rational Developer Tools


	





(Subject: Remote e-mail support for Rational Developer Tools
(* *******************************************************
(* ** DO NOT REPLY TO THIS NOTE! *************************
(* ** THIS NOTE WAS RE-SENT TO YOU BY A SERVER. **********
(* ** NO ONE MONITORS THIS SERVER'S INCOMING MAIL. *******
(* *******************************************************
(* From:  Martin Sebor
(* Email: martin.sebor@roguewave.com
(* User ID: martin.sebor@roguewave.com
(* 5500 Flatiron Pky
(* Boulder, CO
(* Business Phone:

This is a problem report against IBM XLC++ 9.0 on AIX.

The test case at http://issues.apache.org/jira/browse/STDCXX-490 (copied below) causes an ICE in XLC++ 9.0 on AIX.

Martin

$ 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


(* Business Name/PWD#: Rogue Wave Software (CE: ztze9bb / CCMS: A178733)
(* Remote e-mail support routing record: pwisvts@us.ibm.com
(* This Remote email support message was sent on Thu Jul 26 16:56:36 CDT 2007


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