home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.bug
- Path: 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
-
- 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
-
-
-