Article View: gnu.gcc.bug
Article #198bug in gcc2.2.2, please acknowledge.
From: Beau Paisley
Date: Sat, 25 Jul 1992 00:16
Date: Sat, 25 Jul 1992 00:16
27 lines
950 bytes
950 bytes
We have sent this bug message 3 times. Please
acknowledge, and suggest a work-around.
/* When you execute this program it generates an illegal instruction message */
/* No syntax error is given for the illegal allocation syntax */
extern "C" void exit( int );
int test(int j)
{
return( 0 );
}
main( )
{
int n=4;
double x[n]; /* This seems to be the statement that gcc goofs up */
/* The c++ version of gcc messes it up also */
int i;
i= test(0);
exit(0);
}
Beau Paisley
apl/uw
206-367-0599
Technical Details
Message-ID:
<9207250016.AA02921@bass.noname>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!bass.ai.mit.EDU!paisleyShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!bass.ai.mit.EDU!paisley From: paisley@bass.ai.mit.EDU (Beau Paisley) Subject: bug in gcc2.2.2, please acknowledge. Message-ID: <9207250016.AA02921@bass.noname> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Sat, 25 Jul 1992 00:16:09 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 29