Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Robert Weissenfels - The one who...
Mon, 28 Dec 1992 15:31
Problem with warning from gcc-2.3.[123]
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads