home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aix / 13675 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  2.5 KB

  1. Xref: sparky comp.unix.aix:13675 gnu.gcc.help:3012
  2. Path: sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!Germany.EU.net!news.Hamburg.Germany.EU.net!ccwnoc!samhh!muehlenw
  3. From: muehlenw@samhh.hanse.de (Stefan A. Muehlenweg)
  4. Newsgroups: comp.unix.aix,gnu.gcc.help
  5. Subject: Compilation warnings when building gcc on RS6000
  6. Message-ID: <9a6TXB1w165w@samhh.hanse.de>
  7. Date: Sat, 23 Jan 93 16:09:55 MEZ
  8. Reply-To: muehlenw@samhh.hanse.de (Stefan A. Muehlenweg)
  9. Organization: private site of HanseNet--Hamburg--Germany
  10. Lines: 49
  11.  
  12. I tried building of gcc 2.3.3 on RS/6000 running AIX 3.2.3
  13. (with xlc 0001.0002.0000.0013).
  14.  
  15. I configured with: configure  rs6000-ibm-aix
  16. When I'm running 'make LANGUAGES=c' I've got the following warnings.
  17. What happens there and how can I correct it ???
  18.  
  19.  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  20.     ./xgcc -B./  -DIN_GCC   -g     -DNO_MEM -DNO_STDDEF -DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
  21. ./enquire.c: In function `cprop':
  22. ./enquire.c:1366: warning: comparison is always 0 due to limited range of data type
  23. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  24.  
  25. the message above is in the last six lines when first calling
  26. 'make LANGUAGES=c'. I'm not sure, if I can ignore this.
  27. Now I did build the stage2 compiler with
  28.  
  29. 'make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O" LANGUAGES=c'
  30.  
  31. and now I got the messages
  32.  
  33.  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  34.     stage1/xgcc -Bstage1/  -DIN_GCC   -g -O     -I. -I. -I./config -c insn-emit.c
  35. insn-emit.c: In function `gen_uminsi3':
  36. insn-emit.c:266: warning: integer constant is so large that it is unsigned
  37. insn-emit.c:267: warning: integer constant is so large that it is unsigned
  38. insn-emit.c: In function `gen_umaxsi3':
  39. insn-emit.c:298: warning: integer constant is so large that it is unsigned
  40. insn-emit.c:299: warning: integer constant is so large that it is unsigned
  41. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  42.  
  43. and --- of course --- as in the first step:
  44.  
  45.  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  46.         ./xgcc -B./  -DIN_GCC   -g -O     -DNO_MEM -DNO_STDDEF -DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
  47. ./enquire.c: In function `cprop':
  48. ./enquire.c:1366: warning: comparison is always 0 due to limited range of data type
  49. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  50.  
  51. I don't know what happens there on RS6000, if anyone can explain or help
  52. me, it would be great. (The resulting gcc *seems* to work correct)
  53.  
  54. Any help would be appreciated,
  55. please answer by PM.
  56. Stefan
  57.  
  58.  ---
  59.  Stefan A. M"uhlenweg                       muehlenw@samhh.hanse.de
  60.  D-W-2000 Hamburg 73, Liliencronstr. 6,     Phone: +49 (40) 6 77 60 97
  61.