This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12836] New: compile internal error when -pg on
- From: "msk at tepkom dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2003 06:14:40 -0000
- Subject: [Bug c++/12836] New: compile internal error when -pg on
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12836
Summary: compile internal error when -pg on
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: msk at tepkom dot ru
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
compiler internal error produced on GCC from CVS of 26-Oct-03 during compilation
the following code (command: gcc -O0 -pg filename.cpp -o filename):
---------------------------------------------------
template <class T> class Ref
{
public:
Ref (T * const _addr);
};
class FileName
{
};
class MockFileName: public FileName
{
public:
MockFileName () { }
};
static Ref<FileName> New (char const * const path)
{ return new MockFileName (); }