This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/12836] New: compile internal error when -pg on


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 (); }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]