This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bug report
- To: "'egcs-bugs at egcs dot cygnus dot com'" <egcs-bugs at egcs dot cygnus dot com>
- Subject: bug report
- From: Krystof Zmudzinski <kzmudzinski at etcconnect dot com>
- Date: Wed, 1 Mar 2000 15:40:13 -0600
This is the environment:
------------------------
OS: WinNT 4.0 SP 5
Tool: cc886: gcc driver version cygnus-2.7.2-960126 egcs-971225 tornado 2.0
executing gcc version cygnus-2.7.2-960126
This is the command:
--------------------
cc386 -g -mpentium -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT -fvolatile
-nostdlib -fn
o-builtin -fno-defer-pop -I. -DCPU=PENTIUM -DVXW=1 -DDEBUG -D_DEBUG -c
D:\SS\net2node\server\test.cpp
This is the compiler output:
----------------------------
abnormal program termination
D:\SS\net2node\server\test.cpp: In function `void __tcf_0()':
D:\SS\net2node\server\test.cpp:16: Internal compiler error.
D:\SS\net2node\server\test.cpp:16: Please submit a full bug report to
`egcs-bugs@cygnus.com'.
make: *** [test.o] Error 0x1
Done.
This is the code (test.cpp):
----------------------------
{begin}
class CSMLSerialNumber
{
public:
CSMLSerialNumber();
~CSMLSerialNumber();
unsigned long m_sessionID;
signed long m_sequenceNumber;
};
void test()
{
static struct _channel1
{
CSMLSerialNumber sn1;
CSMLSerialNumber sn2;
} channel1;
static struct _channel2
{
CSMLSerialNumber sn1;
CSMLSerialNumber sn2;
} channel2;
}
{end}
Krystof Zmudzinski