public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/6122: Internal compiler error
@ 2002-04-01 9:46 celliott
0 siblings, 0 replies; only message in thread
From: celliott @ 2002-04-01 9:46 UTC (permalink / raw)
To: gcc-gnats; +Cc: james
>Number: 6122
>Category: c++
>Synopsis: Internal compiler error
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 01 09:46:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Chris Elliott
>Release: gcc 2.95.3-5 (cygwin special)
>Organization:
>Environment:
Cygwin x86
>Description:
Compiler gives an internal compile error. Fails on many architectures and also on version 3.0.
>How-To-Repeat:
gcc -c -save-temps test.cpp
>Fix:
None
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="test.ii"
Content-Disposition: inline; filename="test.ii"
# 1 "test.cpp"
typedef unsigned int size_t;
template <class T> class TestTemplate
{
public:
~TestTemplate();
};
class CTestClass1
{
};
typedef TestTemplate<CTestClass1> PTestClass1;
class TestClass2
{
public:
inline void operator delete(void * BufP, PTestClass1 PoolP);
inline void * operator new(size_t Size, PTestClass1 PoolP);
TestClass2(unsigned int EnvSize);
};
class TestClass3
{
public:
PTestClass1 Ptr();
};
extern TestClass3 * _ExtPtr;
class TestClass4
{
public:
void Func();
};
void TestClass4::Func()
{
TestClass2 * TestPtr = new(_ExtPtr->Ptr()) TestClass2(28);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-04-01 17:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-01 9:46 c++/6122: Internal compiler error celliott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).