Article View: gnu.g++.bug
Article #2051g++ 1.35.0 produces an error message for valid input
From: Per Abrahamsen
Date: Mon, 29 May 1989 22:03
Date: Mon, 29 May 1989 22:03
30 lines
1193 bytes
1193 bytes
g++ 1.35.0 compiled on a sun3/60 under SunOS4.0.1
Script started on Mon May 29 23:59:51 1989
% cat err3.cc
struct t
{
int a;
void f();
};
void t::f()
{
switch(t::a)
{
default:
break;
}
}
% g++ -v -c err3.cc
g++ version 1.35.0
/home/local/gnu/lib/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -D__cplusplus -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -D__HAVE_68881__ -Dmc68020 err3.cc /tmp/cca25303.cpp
GNU CPP version 1.35
/home/local/gnu/lib/gcc-cc1plus /tmp/cca25303.cpp -quiet -dumpbase err3.cc -noreg -version -o /tmp/cca25303.s
GNU C++ version 1.35.0 (68k, MIT syntax) compiled by GNU C version 1.35.
In method void t::f ():
err3.cc:9: switch quantity not an integer
% exit
exit
script done on Tue May 30 00:00:29 1989
Technical Details
Message-ID:
<8905292203.AA28988@iesd.dk>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!IESD.AUC.DK!amandaShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!IESD.AUC.DK!amanda From: amanda@IESD.AUC.DK (Per Abrahamsen) Newsgroups: gnu.g++.bug Subject: g++ 1.35.0 produces an error message for valid input Message-ID: <8905292203.AA28988@iesd.dk> Date: 29 May 89 22:03:57 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 30