home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.aix:13675 gnu.gcc.help:3012
- 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
- From: muehlenw@samhh.hanse.de (Stefan A. Muehlenweg)
- Newsgroups: comp.unix.aix,gnu.gcc.help
- Subject: Compilation warnings when building gcc on RS6000
- Message-ID: <9a6TXB1w165w@samhh.hanse.de>
- Date: Sat, 23 Jan 93 16:09:55 MEZ
- Reply-To: muehlenw@samhh.hanse.de (Stefan A. Muehlenweg)
- Organization: private site of HanseNet--Hamburg--Germany
- Lines: 49
-
- I tried building of gcc 2.3.3 on RS/6000 running AIX 3.2.3
- (with xlc 0001.0002.0000.0013).
-
- I configured with: configure rs6000-ibm-aix
- When I'm running 'make LANGUAGES=c' I've got the following warnings.
- What happens there and how can I correct it ???
-
- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- ./xgcc -B./ -DIN_GCC -g -DNO_MEM -DNO_STDDEF -DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
- ./enquire.c: In function `cprop':
- ./enquire.c:1366: warning: comparison is always 0 due to limited range of data type
- <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-
- the message above is in the last six lines when first calling
- 'make LANGUAGES=c'. I'm not sure, if I can ignore this.
- Now I did build the stage2 compiler with
-
- 'make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O" LANGUAGES=c'
-
- and now I got the messages
-
- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- stage1/xgcc -Bstage1/ -DIN_GCC -g -O -I. -I. -I./config -c insn-emit.c
- insn-emit.c: In function `gen_uminsi3':
- insn-emit.c:266: warning: integer constant is so large that it is unsigned
- insn-emit.c:267: warning: integer constant is so large that it is unsigned
- insn-emit.c: In function `gen_umaxsi3':
- insn-emit.c:298: warning: integer constant is so large that it is unsigned
- insn-emit.c:299: warning: integer constant is so large that it is unsigned
- <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-
- and --- of course --- as in the first step:
-
- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- ./xgcc -B./ -DIN_GCC -g -O -DNO_MEM -DNO_STDDEF -DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
- ./enquire.c: In function `cprop':
- ./enquire.c:1366: warning: comparison is always 0 due to limited range of data type
- <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-
- I don't know what happens there on RS6000, if anyone can explain or help
- me, it would be great. (The resulting gcc *seems* to work correct)
-
- Any help would be appreciated,
- please answer by PM.
- Stefan
-
- ---
- Stefan A. M"uhlenweg muehlenw@samhh.hanse.de
- D-W-2000 Hamburg 73, Liliencronstr. 6, Phone: +49 (40) 6 77 60 97
-