home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / gcc / bug / 3069 < prev    next >
Encoding:
Text File  |  1992-12-29  |  1.9 KB  |  65 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!leda.e-technik.uni-dortmund.de!robert
  3. From: robert@leda.e-technik.uni-dortmund.de (Robert Wei\ssenfels - The one who's watching YOU)
  4. Subject: Problem with warning from gcc-2.3.[123]
  5. Message-ID: <9212281331.AA19060@leda.e-technik.uni-dortmund.de>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Mon, 28 Dec 1992 15:31:12 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 52
  12.  
  13. I have some trouble with the newest versions of GNU CC (2.3.[123]).
  14.  
  15. The problem didn't occur with 2.2.2 (and previous versions).
  16.  
  17. A source file reproducing the bug (?) can be generated by the following 
  18. shell script:
  19. #----------------------------bite,bite,bite-------------------------------
  20. #!/bin/sh
  21. #
  22. # taken from the original source:
  23. maxlines=4573
  24. #
  25. echo "struct Y_yywork { int verify,advance; } Y_yycrank[] = {" >test.c
  26. lines=0
  27. while [ $lines -ne $maxlines ]
  28. do
  29.   echo "0,0,0,0,0,0,0,0," >>test.c
  30.   lines=`expr $lines + 1`
  31. done
  32. echo "0,0};" >>test.c
  33. #----------------------------bite,bite,bite-------------------------------
  34. The original source had been generated as a lex output.
  35.  
  36. The (minimum) trouble command was:    gcc -Wall -c test.c
  37. Machine type:                SPARCstation IPX
  38. OS:                    SunOS 4.1.1
  39. GCC was configured as follows:        ./configure sparc --prefix=/tools/GNU
  40.  
  41. Error:
  42.     A message
  43.  
  44.     test.c:4575: warning: aggregate has a partly bracketed initializer
  45.  
  46.     was repeated again and again until I interupted the output.
  47.  
  48.  
  49. Good luck ;-)
  50.  
  51. Robert
  52.               ________
  53.              /////////   University of Dortmund
  54.  # # #  # # ## / # //    Microelectronics Division
  55.  # # ## # # # # # #/     c/o Dipl.-Ing. Robert Wei\ssenfels
  56.  # # # ## # # # # #      P.O.BOX 500 500
  57.   #  #  # # ## / #       D-4600 Dortmund 50
  58. ________/////////        
  59. \_\X\_\_\///////         Phone: +45 231 755 3256
  60.  \_\_\_\_\/////          
  61.   \_\_\_\_\///           robert@leda.e-technik.uni-dortmund.de
  62.  
  63.  
  64.  
  65.