Article View: gnu.g++.bug
Article #1235ARM page 87
From: dcb
Date: Mon, 23 Nov 1992 12:51
Date: Mon, 23 Nov 1992 12:51
23 lines
837 bytes
837 bytes
Hello there,
See section 6.4.2 of the ARM. Top of page 87. GNU G++ 2.3.1 does not do the
right thing for the following code derived from the example.
int main() {
int a;
switch (a) {
case 1:
int v2 = 3;
case 2:
if (v2 == 7) // error not flagged by 2.3.1
;
}
return 0;
}
Regards
David C Binderman Dept US/ESI, Bau 60, SEL-Alcatel AG, Lorenz Strasse 10,
D-7000 Stuttgart 40, Germany dcb@us-es.sel.de Tel: +49 711 821 3841
Technical Details
Message-ID:
<9211231051.AA11287@us-es.sel.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!us-es.SEl.DE!dcbShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!us-es.SEl.DE!dcb From: dcb@us-es.SEl.DE Subject: ARM page 87 Message-ID: <9211231051.AA11287@us-es.sel.de> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Mon, 23 Nov 1992 12:51:38 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 24