This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
971031 to 971105 negative enhancement
- To: egcs-bugs at cygnus dot com
- Subject: 971031 to 971105 negative enhancement
- From: davidb at msi-uk dot com (David Binderman)
- Date: Fri, 7 Nov 1997 14:10:37 GMT
hello there,
The following source code used to compile ok on 971031
typedef unsigned long Xv_opaque;
class DynaString
{
public:
DynaString();
DynaString( const DynaString& dynaStr );
DynaString( const long n );
~DynaString();
int operator ==( const char* const string ) const;
};
class DDE_Defaults
{
public:
DynaString GetHost();
DynaString GetService();
DynaString GetDatabase();
};
extern DDE_Defaults* ddeDefaults;
void
f()
{
DynaString tempHost, tempService, tempDatabase;
if( (tempHost = ddeDefaults->GetHost()) == 0
|| (tempService = ddeDefaults->GetService()) == 0
|| (tempDatabase = ddeDefaults->GetDatabase()) == 0
)
{
}
}
but on 971105 it crashes the compiler, around line 2078 of gcc/except.c
Regards
David C Binderman MSc BSc (Hons) +44 171 971 8814
contracting at Mobile Systems International in the Docklands, London, England
"There is no substitute for skill, taste & experience when programming"
Dr Stroustrup, inventor of C++.