You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Travis Vitek (JIRA)" <ji...@apache.org> on 2007/11/30 00:04:45 UTC

[jira] Commented: (STDCXX-604) [IBM XLC++ 9.0] ICE on 23.bitset.cons.stdcxx-297

    [ https://issues.apache.org/jira/browse/STDCXX-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546929 ] 

Travis Vitek commented on STDCXX-604:
-------------------------------------

Here is a simple testcase that illustrates the problem.

[vitek@rimple tests]$ cat t.cpp && xlC -c t.cpp
typedef long          ptrdiff_t;
typedef unsigned long size_t;

void *operator new(size_t, void *) throw ();
void operator delete(void *, void *) throw ();

template <class charT>
class string
{
public:
    string ();
};

typedef string<char> cstring;

class bitset
{
public:
    bitset (const cstring&);
};

int main ()
{
    const unsigned n = sizeof (bitset);
    char buf [n + 4];

    bitset* s = new (buf) bitset (cstring ());

    for (unsigned i = n; i < sizeof (buf); ++i)
        ;  

    s->~bitset ();

    return 0;
}

/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
[vitek@rimple tests]$ 


> [IBM XLC++ 9.0] ICE on 23.bitset.cons.stdcxx-297
> ------------------------------------------------
>
>                 Key: STDCXX-604
>                 URL: https://issues.apache.org/jira/browse/STDCXX-604
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 4.2.0
>         Environment: IBM XLC++ 9.0/AIX 5.3
>            Reporter: Martin Sebor
>            Assignee: Travis Vitek
>             Fix For: 4.2.1
>
>
> The 23.bitset.cons.stdcxx-297.cpp regression test fails to compile with IBM XLC++ 9.0 due to an internal compiler error:
> xlCcore_r -c -I$(TOPDIR)/include/ansi    -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include  -O -Q     -qtemplateregistry=23.bitset.cons.stdcxx-297.ti $(TOPDIR)/tests/regress/23.bitset.cons.stdcxx-297.cpp
> /nfs/packages/mdx/aix/compilers/5.2.0/va90/root/usr/vacpp/bin/.orig/xlCcore_r: 1501-230 (S) Internal compiler error; please contact your Service Representative
> gmake: *** [23.bitset.cons.stdcxx-297.o] Error 41

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.