egcs-1.0.1 sparc-sun-sunos4.1.3 results

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Wed Jan 7 12:03:00 GMT 1998


	I bootstrapped egcs-1.0.1 on sparc-sun-sunos4.1.3 using cc for
stage1, native as/ld and BOOT_CFLAGS="-g -O3 -funroll-all-loops -pipe
-W -Wall" and I got a clean "make compare".

	Below are the c-torture errors, the results from "make check"
and a summary of -W -Wall output.

		--Kaveh


TEST DIR: execute
ERROR: loop-2f.c: compiled program got signal 6: -O2 -funroll-all-loops 
ERROR: loop-2f.c: compiled program got signal 6: -O2 -fno-omit-frame-pointer 
ERROR: loop-2f.c: compiled program got signal 6: -O2 -fomit-frame-pointer 
ERROR: loop-2f.c: compiled program got signal 6: -O3 -fno-omit-frame-pointer 
ERROR: loop-2f.c: compiled program got signal 6: -O3 -fomit-frame-pointer 
ERROR: loop-2f.c: compiled program got signal 6: -O3 -funroll-all-loops 
ERROR: 920501-8.c: compiler returns exit status 1: -O2 -funroll-all-loops 
ERROR: 920501-8.c: compiler returns exit status 1:  
ERROR: 920501-8.c: compiler returns exit status 1: -O -fno-omit-frame-pointer 
ERROR: 920501-8.c: compiler returns exit status 1: -O -fomit-frame-pointer 
ERROR: 920501-8.c: compiler returns exit status 1: -O2 -fno-omit-frame-pointer 
ERROR: 920501-8.c: compiler returns exit status 1: -O2 -fomit-frame-pointer 
ERROR: 920501-8.c: compiler returns exit status 1: -O3 -fno-omit-frame-pointer 
ERROR: 920501-8.c: compiler returns exit status 1: -O3 -fomit-frame-pointer 
ERROR: 920501-8.c: compiler returns exit status 1: -O3 -funroll-all-loops 
Test completed with 15 failures
TEST DIR: compile
ERROR: 961203-1.c: compiler got signal 11: -O2 -funroll-all-loops 
ERROR: 961203-1.c: compiler got signal 11:  
ERROR: 961203-1.c: compiler got signal 11: -O -fno-omit-frame-pointer 
ERROR: 961203-1.c: compiler got signal 11: -O -fomit-frame-pointer 
ERROR: 961203-1.c: compiler got signal 11: -O2 -fno-omit-frame-pointer 
ERROR: 961203-1.c: compiler got signal 11: -O2 -fomit-frame-pointer 
ERROR: 961203-1.c: compiler got signal 11: -O3 -fno-omit-frame-pointer 
ERROR: 961203-1.c: compiler got signal 11: -O3 -fomit-frame-pointer 
ERROR: 961203-1.c: compiler got signal 11: -O3 -funroll-all-loops 
Test completed with 9 failures
TEST DIR: noncompile
Test completed successfully
TEST DIR: unsorted
Test completed successfully


(Duplicate c-torture errors arising from tests done with -fpic, -fPIC,
-p, and "-pg -fno-omit-frame-pointer" have been omitted.)


TEST DIR: execute
ERROR: 930628-1.c: compiled program got signal 11: -O -fno-omit-frame-pointer -fpic
ERROR: 930628-1.c: compiled program got signal 11: -O -fomit-frame-pointer -fpic
Test completed with 17 failures

TEST DIR: execute
ERROR: 930628-1.c: compiled program got signal 11: -O -fno-omit-frame-pointer -fPIC
ERROR: 930628-1.c: compiled program got signal 11: -O -fomit-frame-pointer -fPIC
Test completed with 17 failures





		=== libio tests ===

		=== libio Summary ===

# of expected passes		40

		=== libstdc++ tests ===

		=== libstdc++ Summary ===

# of expected passes		30

		=== gcc tests ===

FAIL: gcc.c-torture/execute/920501-8.c compilation,  -O0 
FAIL: gcc.c-torture/execute/920501-8.c compilation,  -O1 
FAIL: gcc.c-torture/execute/920501-8.c compilation,  -O2 
FAIL: gcc.c-torture/execute/920501-8.c compilation,  -O2 -fomit-frame-pointer -finline-functions 
FAIL: gcc.c-torture/execute/loop-2f.c execution,  -O2 
FAIL: gcc.c-torture/execute/loop-2f.c execution,  -O2 -fomit-frame-pointer -finline-functions 
FAIL: gcc.c-torture/execute/loop-2f.c execution,  -O2 -fomit-frame-pointer -finline-functions -funroll-loops 
FAIL: gcc.c-torture/execute/loop-2f.c execution,  -O2 -fomit-frame-pointer -finline-functions -funroll-all-loops 

		=== gcc Summary ===

# of expected passes		4873
# of unexpected failures	8
# of expected failures		5
# of untested testcases		4
# of unsupported tests		6

		=== g++ tests ===

XPASS: g++.jason/destruct3.C - (test for bogus messages, line 38)
XPASS: g++.mike/dyncast1.C  Execution test
XPASS: g++.mike/dyncast2.C  Execution test

		=== g++ Summary ===

# of expected passes		3400
# of unexpected successes	3
# of expected failures		80
# of untested testcases		6

		=== g77 tests ===

		=== g77 Summary ===

# of expected passes		132




There are 34077 warnings in stage3 of this bootstrap.

Number of warnings per file:
8323 insn-recog.c
2136 combine.c
1555 fold-const.c
1543 cse.c
1392 rtlanal.c
1363 ./genattrtab.c
1146 c-typeck.c
1133 tree.c
1034 typeck.c
 799 loop.c
 798 call.c
 797 expr.c
 669 varasm.c
 605 c-common.c
 590 jump.c
 583 reorg.c
 578 optabs.c
 544 reload1.c
 474 reload.c
 433 ./objc/objc-act.c
 386 print-tree.c
 344 integrate.c
 278 final.c
 254 explow.c
 252 expmed.c
 240 recog.c
 235 alias.c
 231 local-alloc.c
 227 rtl.c
 220 emit-rtl.c
 208 function.c
 186 stmt.c
 183 ./config/sparc/sparc.c
 173 insn-output.c
 160 calls.c
 141 sched.c
 141 insn-emit.c
 141 dbxout.c
 136 unroll.c
 136 cvt.c
 131 ./genoutput.c
 129 c-iterate.c
 129 ./genemit.c
 128 typeck2.c
 127 ./genpeep.c
 124 flow.c
 118 convert.c
 117 ./genextract.c
 117 ./genconfig.c
 108 ./genrecog.c
 107 cpplib.c
  99 toplev.c
  71 ./protoize.c
  70 decl.c
  56 g77.c
  56 g++.c
  55 gcc.c
  50 cxxmain.c
  50 c-decl.c
  47 cccp.c
  46 dwarf2out.c
  44 cplus-dem.c
  41 f/stb.c
  39 ./fix-header.c
  38 lex.c
  37 collect2.c
  35 search.c
  30 pt.c
  30 except.c
  28 rsne.c
  28 regclass.c
  27 ./objc/archive.c
  26 c-lex.c
  25 profile.c
  25 decl2.c
  23 gcov.c
  23 bc-emit.c
  22 stor-layout.c
  22 regmove.c
  22 insn-attrtab.c
  21 tlink.c
  21 init.c
  20 ./genopinit.c
  18 c-lang.c
  17 objc-parse.y
  16 lread.c
  16 insn-peep.c
  16 cppexp.c
  15 pexecute.c
  15 c-parse.y
  14 real.c
  14 class.c
  14 ./objc/thr-single.c
  13 error.c
  13 /a/caip/a26/u26/ghazi/gcc-testing/sunos4-build/egcs-1.0.1/gcc/f/runtime/f2cext.c
  13 ./genflags.c
  13 ./genattr.c
  13 ./enquire.c
  12 parse.y
  12 method.c
  12 dfe.c
  11 gcov-io.h
  11 ./gencodes.c
  10 rdfmt.c
  10 global.c
   9 sig.c
   9 repo.c
   9 f/bad.c
   9 err.c
   9 caller-save.c
   9 bitmap.c
   9 bc-optab.c
   9 ./scan-decls.c
   9 ./objc/sendmsg.c
   8 iio.c
   8 f/lex.c
   8 ./objc/encoding.c
   7 wsfe.c
   7 rsfe.c
   7 ptree.c
   7 main.c
   7 fmt.c
   7 ./gen-protos.c
   7 ./bi-opcode.c
   7 ./bi-lexer.c
   6 xref.c
   6 wref.c
   6 sue.c
   6 stupid.c
   6 qbitbits.c
   6 lbitbits.c
   6 f/target.c
   6 f/intrin.c
   6 f/com.c
   5 wrtfmt.c
   5 print-rtl.c
   5 lwrite.c
   5 cexp.y
   5 ./scan.c
   5 ./objc/selector.c
   5 ./objc/sarray.c
   5 ./bi-opname.c
   5 ./bi-arity.c
   4 uio.c
   4 spew.c
   4 open.c
   4 hash.h
   4 friend.c
   4 endfile.c
   4 due.c
   4 cpphash.c
   4 cpperror.c
   4 ./objc/init.c
   4 ./objc/class.c
   4 ./objc/Object.m
   4 ./getopt.c
   3 symlnk_.c
   3 s_rnge.c
   3 s_paus.c
   3 rtti.c
   3 rename_.c
   3 lstat_.c
   3 inquire.c
   3 f/symbol.c
   3 f/stw.c
   3 f/storag.c
   3 f/bld.c
   3 cppalloc.c
   3 choose-temp.c
   3 chmod_.c
   3 c-gperf.h
   3 bi-parser.y
   3 backspace.c
   3 /usr/local/share/bison.simple
   2 wsle.c
   2 vxttime_.c
   2 unlink_.c
   2 system_.c
   2 stat_.c
   2 sig_die.c
   2 sfe.c
   2 s_stop.c
   2 rsli.c
   2 link_.c
   2 hash.c
   2 gerror_.c
   2 fputc_.c
   2 f/stt.c
   2 f/src.c
   2 etime_.c
   2 errfn.c
   2 dtime_.c
   2 ctime_.c
   2 cpphash.h
   2 close.c
   2 chdir_.c
   2 c-aux-info.c
   2 access_.c
   1 wsne.c
   1 vxtidate_.c
   1 time_.c
   1 srand_.c
   1 secnds_.c
   1 rewind.c
   1 perror_.c
   1 mclock_.c
   1 itime_.c
   1 insn-extract.c
   1 input.c
   1 idate_.c
   1 i_len.c
   1 hostnm_.c
   1 h_len.c
   1 getpwd.c
   1 getenv_.c
   1 ftell_.c
   1 flush1_.c
   1 fgetc_.c
   1 fdate_.c
   1 f/where.c
   1 f/top.c
   1 f/parse.c
   1 f/implic.c
   1 f/expr.c
   1 f/equiv.c
   1 ef1asc_.c
   1 c-convert.c
   1 abort_.c
   1 F77_aloc.c
   1 /usr/cygnus/latest-940103/share/bison.simple
   1 ./objc/nil_method.c
   1 ./objc/hash.c
   1 ./f/g77spec.c
   1 ./cp/g++spec.c

Number of warning types:
30045 enumeration value `???' not handled in switch
1699 implicit declaration of function `???'
 468 unused parameter `???'
 468 comparison between signed and unsigned
 274 `???' might be used uninitialized in this function
 260 unused variable `???'
 204 subscript has type `char'
 168 label `???' defined but not used
 116 suggest parentheses around assignment used as truth value
  53 return-type defaults to `int'
  36 control reaches end of non-void function
  30 ??? format, ??? arg (arg ???)
  28 type of `???' defaults to `int'
  27 `???' declared `static' but never defined
  26 `???' defined but not used
  23 statement with no effect
  19 case value `???' not in enumerated type `???'
  18 suggest parentheses around && within ||
  17 variable `???' might be clobbered by `longjmp' or `vfork'
  17 suggest parentheses around + or - inside shift
  14 array subscript has type `char'
   9 zero-length format string
   8 use of `???' length character with `???' type character
   6 unsigned value < 0 is always 0
   6 type defaults to `int' in declaration of `???'
   6 suggest parentheses around arithmetic in operand of |
   6 empty body in an else-statement
   5 argument `???' might be clobbered by `longjmp' or `vfork'
   4 value computed is not used
   4 empty body in an if-statement
   3 missing braces around initializer for `???'
   2 suggest parentheses around + or - in operand of &
   1 this function may return with or without a value
   1 suggest parentheses around comparison in operand of |
   1 suggest parentheses around comparison in operand of &
   1 format argument is not a pointer (arg ???)
   1 assignment makes pointer from integer without a cast
   1 assignment from incompatible pointer type
   1 `return' with no value, in function returning non-void
   1 `inline' is not at beginning of declaration
--
Kaveh R. Ghazi			Project Manager / Custom Development
ghazi@caip.rutgers.edu		ICon CMT Corp.



More information about the Gcc mailing list