From: ernie () MasPar ! COM (Ernie Rael)
To: tru64-unix-managers
Subject: g++ alpha only bug
Date: Thu, 11 Apr 1996 03:40:09 +0000 [thread overview]
Message-ID: <96076331021244.tru64-unix-managers.marc@archive.invalid> (raw)
The c++ program below gets an error when compiled on a g++ built under
DU 3.2C at my location. Other machines do not have a problem with it
according to first response from a support person, ...@prep.ai.mit.edu.
(and that was a quick response).
If someone with gcc 2.7.2 would try it and let me know if they have the
same problem i would appreciate it. (sorry if this strays out of topic)
-ernie
_m_heap.c: In method `void m_heap::print()':
_m_heap.c:17: Internal compiler error.
_m_heap.c:17: Please submit a full bug report to `bug-g++@prep.ai.mit.edu'.
============================================================================
class m_heap {
private: int i;
public: void print() ;
};
template <class T>
inline int leda_cast(const T& x)
{
}
#define MAXINT ((int)~(1U << (8 * sizeof( int )) - 1) )
void m_heap::print()
{
for (i=0;i<5;i++)
while (0 != leda_cast(MAXINT)) i++;
}
============================================================================
reply other threads:[~1996-04-11 3:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox