Article View: gnu.gcc.bug
Article #1488Problem with warning from gcc-2.3.[123]
From: Robert Weissenfels - The one who...
Date: Mon, 28 Dec 1992 15:31
Date: Mon, 28 Dec 1992 15:31
49 lines
2047 bytes
2047 bytes
I have some trouble with the newest versions of GNU CC (2.3.[123]).
The problem didn't occur with 2.2.2 (and previous versions).
A source file reproducing the bug (?) can be generated by the following
shell script:
#----------------------------bite,bite,bite-------------------------------
#!/bin/sh
#
# taken from the original source:
maxlines=4573
#
echo "struct Y_yywork { int verify,advance; } Y_yycrank[] = {" >test.c
lines=0
while [ $lines -ne $maxlines ]
do
echo "0,0,0,0,0,0,0,0," >>test.c
lines=`expr $lines + 1`
done
echo "0,0};" >>test.c
#----------------------------bite,bite,bite-------------------------------
The original source had been generated as a lex output.
The (minimum) trouble command was: gcc -Wall -c test.c
Machine type: SPARCstation IPX
OS: SunOS 4.1.1
GCC was configured as follows: ./configure sparc --prefix=/tools/GNU
Error:
A message
test.c:4575: warning: aggregate has a partly bracketed initializer
was repeated again and again until I interupted the output.
Good luck ;-)
Robert
________
///////// University of Dortmund
# # # # # ## / # // Microelectronics Division
# # ## # # # # # #/ c/o Dipl.-Ing. Robert Wei\ssenfels
# # # ## # # # # # P.O.BOX 500 500
# # # # ## / # D-4600 Dortmund 50
________/////////
\_\X\_\_\/////// Phone: +45 231 755 3256
\_\_\_\_\/////
\_\_\_\_\/// robert@leda.e-technik.uni-dortmund.de
Technical Details
Message-ID:
<9212281331.AA19060@leda.e-technik.uni-dortmund.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!leda.e-technik.uni-dortmund.de!robertShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!leda.e-technik.uni-dortmund.de!robert From: robert@leda.e-technik.uni-dortmund.de (Robert Wei\ssenfels - The one who's watching YOU) Subject: Problem with warning from gcc-2.3.[123] Message-ID: <9212281331.AA19060@leda.e-technik.uni-dortmund.de> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Mon, 28 Dec 1992 15:31:12 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 52