This is the mail archive of the gcc-testresults@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Results for 4.2.1 20070515 (prerelease) testsuite on i686-pc-linux-gnu


Hello,

New to this maillist, I am not sure I should bother you with this questions,
so please accept my apologies if this is not the proper place.


I am looking for benchmarks. I am interested in a comparison of compiler
performance (compile time, code size, performance of the compiled code)
in order to compare gcc-3.x in 32-bits mode and gcc-4.x in 64-bit mode
on an Opteron based platform.

It may be that there is nowhere an exact match for this question
but I would really appreciate a pointer to a place where you think
I could find, or be lead to, similar information.

Thank you very much for your time and help.

Sincerely,

Jean Casteres

Le 17 mai 07 à 21:05, Rob1weld@aol.com a écrit :

LAST_UPDATED: Tue May 15 18:23:14 UTC 2007 (/branches/gcc-4_2-branch
revision 124745)

=== acats tests ===

FAIL: c380004

=== acats Summary ===

# of expected passes  2314
# of unexpected  failures 1
Native configuration is i686-pc-linux-gnu


=== g++ tests ===


Running target unix
FAIL: tmpdir-g++.dg-struct-layout-1/t024 cp_compat_x_tst.o- cp_compat_y_tst.o
execute
XPASS: g++.dg/tree-ssa/ivopts-1.C scan-tree-dump-not offset: -4B
XPASS: g++.dg/tree-ssa/ivopts-1.C scan-tree-dump-not &x\\[5\\]


=== g++ Summary ===

# of expected passes 13437
# of unexpected failures 1
# of unexpected successes 2
# of expected failures 66
# of unsupported tests 74
/opt/gcc-4_2-build/gcc/testsuite/g++/../../g++ version 4.2.1 20070515
(prerelease)



=== gcc tests ===


Running target unix
FAIL: gcc.c-torture/compile/20000804-1.c -O0 (test for excess errors)
FAIL: gcc.c-torture/execute/20050316-2.c execution, -O0
FAIL: gcc.c-torture/execute/20050316-2.c execution, -O1
FAIL: gcc.c-torture/execute/20050316-2.c execution, -O2
UNRESOLVED: gcc.c-torture/execute/mayalias-2.c execution, -O3 -g
FAIL: gcc.dg/compat/scalar-by-value-dfp c_compat_x_tst.o compile, (internal
compiler error)
FAIL: gcc.dg/compat/scalar-by-value-dfp c_compat_y_tst.o compile, (internal
compiler error)
UNRESOLVED: gcc.dg/compat/scalar-by-value-dfp
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: gcc.dg/compat/scalar-by-value-dfp
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: gcc.dg/compat/scalar-return-dfp c_compat_x_tst.o compile, (internal
compiler error)
FAIL: gcc.dg/compat/scalar-return-dfp c_compat_y_tst.o compile, (internal
compiler error)
UNRESOLVED: gcc.dg/compat/scalar-return-dfp
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: gcc.dg/compat/scalar-return-dfp
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: gcc.dg/compat/vector-2 c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t001
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t001
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t002 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t002 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t002
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t002
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t003 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t003 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t003
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t003
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t004 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t004 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t004
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t004
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t005 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t005 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t005
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t005
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t006 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t006 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t006
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t006
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t007 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t007 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t007
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t007
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t008 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t008 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t008
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t008
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t009 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t009 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t009
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t009
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t010 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t010 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t010
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t010 c_compat_x_tst.o- c_compat_
y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t011 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t011 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t011
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t011
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t012 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t012 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t012
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t012
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t013 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t013 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t013
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t013
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t014 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t014 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t014
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t014
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t015 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t015 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t015
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t015
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t016 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t016 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t016
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t016
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t017 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t017 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t017
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t017
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t018 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t018 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t018
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t018
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t019 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t019 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t019
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t019
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t020 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t020 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t020
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t020
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t021 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t021 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t021
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t021
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t022 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t022 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t022
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t022
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t023 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t023 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t023
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t023
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t024 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t024 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t024
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t024
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t025 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t025 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t025
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t025
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t026 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t026 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t026
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t026
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t027 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t027 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t027
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t027
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: tmpdir-gcc.dg-struct-layout-1/t028 c_compat_x_tst.o compile,
(internal compiler error)
FAIL: tmpdir-gcc.dg-struct-layout-1/t028 c_compat_y_tst.o compile,
(internal compiler error)
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t028
c_compat_x_tst.o-c_compat_y_tst.o link
UNRESOLVED: tmpdir-gcc.dg-struct-layout-1/t028
c_compat_x_tst.o-c_compat_y_tst.o execute
FAIL: gcc.dg/debug/dwarf2/dwarf-dfp.c (internal compiler error)
FAIL: gcc.dg/debug/dwarf2/dwarf-dfp.c (test for excess errors)
ERROR: gcc.dg/debug/dwarf2/dwarf-dfp.c: error executing dg-final: couldn't
open "dwarf-dfp.s": no such file or directory
UNRESOLVED: gcc.dg/debug/dwarf2/dwarf-dfp.c: error executing dg- final:
couldn't open "dwarf-dfp.s": no such file or directory
FAIL: gcc.dg/dfp/Wconversion-2.c (internal compiler error)
FAIL: gcc.dg/dfp/Wconversion-2.c (test for excess errors)
FAIL: gcc.dg/dfp/call-by-value.c (internal compiler error)
FAIL: gcc.dg/dfp/call-by-value.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/call-by-value.c compilation failed to produce
executable
FAIL: gcc.dg/dfp/cast.c (internal compiler error)
FAIL: gcc.dg/dfp/cast.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/cast.c compilation failed to produce executable
FAIL: gcc.dg/dfp/compare-eq-dfp.c (internal compiler error)
FAIL: gcc.dg/dfp/compare-eq-dfp.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/compare-eq-dfp.c compilation failed to produce
executable
FAIL: gcc.dg/dfp/compare-rel-dfp.c (internal compiler error)
FAIL: gcc.dg/dfp/compare-rel-dfp.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/compare-rel-dfp.c compilation failed to produce
executable
FAIL: gcc.dg/dfp/convert-bfp-fold.c (internal compiler error)
FAIL: gcc.dg/dfp/convert-bfp-fold.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/convert-bfp-fold.c compilation failed to produce
executable
FAIL: gcc.dg/dfp/convert-bfp.c (internal compiler error)
FAIL: gcc.dg/dfp/convert-bfp.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/convert-bfp.c compilation failed to produce executable
FAIL: gcc.dg/dfp/convert-dfp-round.c (internal compiler error)
FAIL: gcc.dg/dfp/convert-dfp-round.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/convert-dfp-round.c compilation failed to produce
executable
FAIL: gcc.dg/dfp/convert-dfp.c (internal compiler error)
FAIL: gcc.dg/dfp/convert-dfp.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/convert-dfp.c compilation failed to produce executable
FAIL: gcc.dg/dfp/convert-int.c (internal compiler error)
FAIL: gcc.dg/dfp/convert-int.c (test for excess errors)
FAIL: gcc.dg/dfp/func-array.c (internal compiler error)
FAIL: gcc.dg/dfp/func-array.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/func-array.c compilation failed to produce executable
FAIL: gcc.dg/dfp/func-mixed.c (internal compiler error)
FAIL: gcc.dg/dfp/func-mixed.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/func-mixed.c compilation failed to produce executable
FAIL: gcc.dg/dfp/func-scalar.c (internal compiler error)
FAIL: gcc.dg/dfp/func-scalar.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/func-scalar.c compilation failed to produce executable
FAIL: gcc.dg/dfp/func-struct.c (internal compiler error)
FAIL: gcc.dg/dfp/func-struct.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/func-struct.c compilation failed to produce executable
FAIL: gcc.dg/dfp/func-vararg-dfp.c (internal compiler error)
FAIL: gcc.dg/dfp/func-vararg-dfp.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/func-vararg-dfp.c compilation failed to produce
executable
FAIL: gcc.dg/dfp/func-vararg-mixed.c (internal compiler error)
FAIL: gcc.dg/dfp/func-vararg-mixed.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/func-vararg-mixed.c compilation failed to produce
executable
FAIL: gcc.dg/dfp/inf-1.c (internal compiler error)
FAIL: gcc.dg/dfp/inf-1.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/inf-1.c compilation failed to produce executable
FAIL: gcc.dg/dfp/loop-index.c (internal compiler error)
FAIL: gcc.dg/dfp/loop-index.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/loop-index.c compilation failed to produce executable
FAIL: gcc.dg/dfp/nan-2.c (internal compiler error)
FAIL: gcc.dg/dfp/nan-2.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/nan-2.c compilation failed to produce executable
FAIL: gcc.dg/dfp/operator-assignment.c (internal compiler error)
FAIL: gcc.dg/dfp/operator-assignment.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/operator-assignment.c compilation failed to produce
executable
FAIL: gcc.dg/dfp/operator-comma.c (internal compiler error)
FAIL: gcc.dg/dfp/operator-comma.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/operator-comma.c compilation failed to produce
executable
FAIL: gcc.dg/dfp/operator-cond.c (internal compiler error)
FAIL: gcc.dg/dfp/operator-cond.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/operator-cond.c compilation failed to produce
executable
FAIL: gcc.dg/dfp/operator-logical.c (internal compiler error)
FAIL: gcc.dg/dfp/operator-logical.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/operator-logical.c compilation failed to produce
executable
FAIL: gcc.dg/dfp/operator-unary.c (internal compiler error)
FAIL: gcc.dg/dfp/operator-unary.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/operator-unary.c compilation failed to produce
executable
FAIL: gcc.dg/dfp/union-init.c (internal compiler error)
FAIL: gcc.dg/dfp/union-init.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/union-init.c compilation failed to produce executable
FAIL: gcc.dg/dfp/usual-arith-conv.c (internal compiler error)
FAIL: gcc.dg/dfp/usual-arith-conv.c (test for excess errors)
UNRESOLVED: gcc.dg/dfp/usual-arith-conv.c compilation failed to produce
executable
FAIL: gcc.dg/builtin-apply4.c execution test
FAIL: gcc.dg/tree-ssa/gen-vect-11.c scan-tree-dump-times vectorized 1 loops 1
FAIL: gcc.dg/tree-ssa/gen-vect-11a.c scan-tree-dump-times vectorized 1 loops
1


=== gcc Summary ===

# of expected passes  42642
# of unexpected  failures 122
# of expected failures  116
# of unresolved  testcases 86
# of untested testcases  28
# of unsupported  tests  287
/opt/gcc-4_2-build/gcc/xgcc  version 4.2.1 20070515  (prerelease)


=== gfortran tests ===


Running target unix
XPASS: gfortran.dg/csqrt_2.f -O0 execution test
XPASS: gfortran.dg/csqrt_2.f -O1 execution test
XPASS: gfortran.dg/csqrt_2.f -O2 execution test
XPASS: gfortran.dg/csqrt_2.f -O3 -fomit-frame-pointer execution test
XPASS: gfortran.dg/csqrt_2.f -O3 -fomit-frame-pointer -funroll-loops
execution test
XPASS: gfortran.dg/csqrt_2.f -O3 -fomit-frame-pointer -funroll- all-loops
-finline-functions execution test
XPASS: gfortran.dg/csqrt_2.f -O3 -g execution test
XPASS: gfortran.dg/csqrt_2.f -Os execution test


=== gfortran Summary ===

# of expected passes 16035
# of unexpected successes 8
# of expected failures 7
# of unsupported tests 16
/opt/gcc-4_2-build/gcc/testsuite/gfortran/../../gfortran version 4.2.1
20070515 (prerelease)



=== gnat tests ===


Running target unix

=== gnat Summary ===

# of expected passes 44


=== obj-c++ tests ===


Running target unix
FAIL: obj-c++.dg/cxx-ivars-2.mm execution test
FAIL: obj-c++.dg/encode-8.mm execution test
FAIL: obj-c++.dg/isa-field-1.mm (test for excess errors)
FAIL: obj-c++.dg/lookup-2.mm (test for excess errors)
UNRESOLVED: obj-c++.dg/lookup-2.mm compilation failed to produce executable
FAIL: obj-c++.dg/try-catch-2.mm (test for excess errors)
UNRESOLVED: obj-c++.dg/try-catch-2.mm compilation failed to produce
executable
FAIL: obj-c++.dg/try-catch-9.mm (test for excess errors)
UNRESOLVED: obj-c++.dg/try-catch-9.mm compilation failed to produce
executable


=== obj-c++ Summary ===

# of expected passes 429
# of unexpected failures 6
# of unresolved testcases 3
# of unsupported tests 13
/opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../g++ version 4.2.1 20070515
(prerelease)



=== objc tests ===


Running target unix

=== objc Summary ===

# of expected passes  1806
# of expected  failures  7
# of unsupported  tests  24
/opt/gcc-4_2-build/gcc/xgcc  version 4.2.1 20070515  (prerelease)


=== libffi tests ===


Running target unix
FAIL: libffi.call/return_fl2.c -O0 -W -Wall  execution test
FAIL: libffi.call/return_fl2.c -O2 execution test
FAIL:  libffi.call/return_fl2.c -O3 execution test
FAIL: libffi.call/return_fl2.c  -Os execution test

=== libffi Summary ===

# of expected passes  1080
# of unexpected  failures 4
# of unsupported tests  8


=== libgomp tests ===


Running target unix

=== libgomp Summary ===

# of expected passes 1566


=== libjava tests ===


Running target unix
FAIL: Mauve build

=== libjava Summary ===

# of expected passes  7007
# of unexpected  failures 1
# of expected failures  12
# of untested  testcases  8


=== libmudflap tests ===


Running target unix

=== libmudflap Summary ===

# of expected passes 1814


=== libstdc++ tests ===


Running target unix
FAIL: abi_check
FAIL: 23_containers/deque/explicit_instantiation/3.cc (test for excess
errors)
FAIL: 23_containers/list/explicit_instantiation/3.cc (test for excess errors)
FAIL: 23_containers/map/explicit_instantiation/3.cc (test for excess errors)
FAIL: 23_containers/multimap/explicit_instantiation/3.cc (test for excess
errors)
FAIL: 23_containers/multiset/explicit_instantiation/3.cc (test for excess
errors)
FAIL: 23_containers/set/explicit_instantiation/3.cc (test for excess errors)
FAIL: 23_containers/vector/explicit_instantiation/3.cc (test for excess
errors)
XPASS: 26_numerics/cmath/c99_classification_macros_c.cc (test for excess
errors)


=== libstdc++ Summary ===

# of expected passes  3834
# of unexpected  failures 8
# of unexpected successes 1
# of expected  failures  15
# of unsupported tests  316


Compiler version: 4.2.1 20070515 (prerelease)
Platform: i686-pc-linux-gnu
configure flags: --verbose --with-tune=athlon-xp --prefix=/usr
--enable-objc-gc --enable-concept-checks --disable-multilib
--with-gxx-include-dir=/usr/include/c++/4.2 --enable-libstdcxx- debug --enable-static --enable-shared
--enable-initfini-array --enable-__cxa_atexit --enable-threads=posix
--enable-version-specific-runtime-libs --enable-libssp --enable- libmudflap --enable-libgomp
--disable-werror --enable-nls --with-included-gettext --enable- decimal-float
--with-long-double-128 --enable-debug --enable-java-gc=boehm --with-x
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--enable-java-awt=gtk,xlib --enable-gtk-cairo --enable-qt-peer -- enable-xmlj --enable-gconf-peer
--enable-tool-wrappers --with-gjdoc --enable-portable-native-sync
--enable-libgcj-multifile --with-stabs --enable-hash- synchronization --enable-gc-debug
--enable-interpreter --with-system-zlib --enable-libada --with-tls
--with-cpu=athlon-xp --with-arch=athlon-xp
--enable-stage1- checking=assert,fold,gc,gcac,misc,rtl,rtlflag,runtime,tree
--enable-languages=c,ada,c++,fortran,java,objc,obj-c++


---

Notes:

Compiling with
"--enable-stage1- checking=assert,fold,gc,gcac,misc,rtl,rtlflag,runtime,tree" took me about 32 hours, without that option I can compile
using the above options in a few
hours. The computer had available 512M of memory and 1 core (of 2) on an
Athlon-XP 4200+. I tried using "--enable-checking=..." (without the "stage1"
part) and gave up after a WEEK!


---

All fixinclude tests passed.

---

The acats test fails one test due to:

==== C380003 PASSED ============================.
PASS: c380003
splitting /opt/gcc-4_2-build/gcc/testsuite/ada/acats/tests/c3/ c380004.a
into:
c380004.adb
BUILD c380004.adb
gnatmake --GCC="/opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2-build/ gcc/"
-gnatws -O2 -I/opt/gcc-4_2-build/gcc/testsuite/ada/acats/support c380004.adb
-largs --GCC="/opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2-build/gcc/"
/opt/gcc-4_2-build/gcc/xgcc -c -B/opt/gcc-4_2-build/gcc/ -gnatws -O2
-I/opt/gcc-4_2-build/gcc/testsuite/ada/acats/support c380004.adb
gnatbind -aO./ -I/opt/gcc-4_2-build/gcc/testsuite/ada/acats/ support -I- -x
c380004.ali
gnatlink c380004.ali --GCC=/opt/gcc-4_2-build/gcc/xgcc
-B/opt/gcc-4_2-build/gcc/
RUN c380004


,.,. C380004 ACATS 2.5 07-05-16 22:26:59
---- C380004 Check evaluation of discriminant expressions when the
constraint depends on a discriminant, and the
discriminants have defaults -
discriminant-dependententry families and protected
components.
- C380004 Discriminant-dependent entry families for task types.
* C380004 Unexpected exception raised - 2.
* C380004 Discriminant values not correct - 3.
* C380004 Unexpected exception.
**** C380004 FAILED ****************************.
FAIL: c380004
splitting /opt/gcc-4_2-build/gcc/testsuite/ada/acats/tests/c3/ c38002a.ada
into:
c38002a.adb
BUILD c38002a.adb
gnatmake --GCC="/opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2-build/ gcc/"
-gnatws -O2 -I/opt/gcc-4_2-build/gcc/testsuite/ada/acats/support c38002a.adb
-largs --GCC="/opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2-build/gcc/"
/opt/gcc-4_2-build/gcc/xgcc -c -B/opt/gcc-4_2-build/gcc/ -gnatws -O2
-I/opt/gcc-4_2-build/gcc/testsuite/ada/acats/support c38002a.adb
gnatbind -aO./ -I/opt/gcc-4_2-build/gcc/testsuite/ada/acats/ support -I- -x
c38002a.ali
gnatlink c38002a.ali --GCC=/opt/gcc-4_2-build/gcc/xgcc
-B/opt/gcc-4_2-build/gcc/
RUN c38002a


,.,. C38002A ACATS 2.5 07-05-16 22:27:00
---- C38002A NON-STATIC  CONSTRAINTS CAN BE IMPOSED ON ACCESS  TYPES
ACCESSING PREVIOUSLY UNCONSTRAINED ARRAY OR  RECORD
TYPES.
==== C38002A PASSED  ============================.
PASS: c38002a


---



Since I'd like to see 7 (or more) errors fixed in the "C" compiler I'll
comment on a _small_ portion of the "gcc tests" log file (I tossed a [space]
character in front of the "keywords" to avoid messing up the scanning scripts).
Here is the several:



Running
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/compile/ compile.exp ...
1): FAIL: gcc.c-torture/compile/20000804-1.c -O0 (test for excess errors)
Running
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/ builtins/builtins.exp ...
Running
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/ execute.exp ...
2): FAIL: gcc.c-torture/execute/20050316-2.c execution, -O0
3): FAIL: gcc.c-torture/execute/20050316-2.c execution, -O1
4): FAIL: gcc.c-torture/execute/20050316-2.c execution, -O2
...
Running /root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/ dg.exp ...
5): FAIL: gcc.dg/builtin-apply4.c execution test
...
Running
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/tree-ssa/tree- ssa.exp ...
6): FAIL: gcc.dg/tree-ssa/gen-vect-11.c scan-tree-dump-times vectorized 1
loops 1
7): FAIL: gcc.dg/tree-ssa/gen-vect-11a.c scan-tree-dump-times vectorized 1
loops 1



gcc-4_2-build/gcc/testsuite/gcc.log:



1): The error: "gcc.c-torture/compile/20000804-1.c -O0" is caused by:


Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
-O0 -w -fno-show-column -c -o 20000804-1.o
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/compile/ 20000804-1.c (timeout = 300)
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/compile/ 20000804-1.
c: In function 'f':
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/compile/ 20000804-1.
c:15: error: 'asm' operand requires impossible reload
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/compile/ 20000804-1.
c:15: error: 'asm' operand requires impossible reload
compiler exited with status 1
...


The "-O1", "-O2", "-O3" (and friends) and the "-Os" test are OK, only "-O0"
is broken.



2,3,4): The error "gcc.c-torture/execute/20050316-2.c execution" tests simply say (nothing):

PASS: gcc.c-torture/execute/20050316-1.c execution, -Os
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/ 20050316-2.c
-w -O0 -fno-show-column -lm -o
/opt/gcc-4_2-build/gcc/testsuite/gcc/20050316-2.x0 (timeout = 300)
PASS: gcc.c-torture/execute/20050316-2.c compilation, -O0
Setting LD_LIBRARY_PATH to
:/opt/gcc-4_2-build/gcc::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/ i686-pc-linux-gnu/libstdc++-v3/.libs:/opt/gcc-4_2-build/i686-
pc-linux-gnu/libmudflap/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/ libssp/.lib
s:/opt/gcc-4_2-build/i686-pc-linux-gnu/libgomp/.libs:/opt/gcc-4_2- build/./gcc:
/opt/gcc-4_2-build/./prev-gcc
FAIL: gcc.c-torture/execute/20050316-2.c execution, -O0
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/ 20050316-2.c
-w -O1 -fno-show-column -lm -o
/opt/gcc-4_2-build/gcc/testsuite/gcc/20050316-2.x1 (timeout = 300)
PASS: gcc.c-torture/execute/20050316-2.c compilation, -O1
Setting LD_LIBRARY_PATH to
:/opt/gcc-4_2-build/gcc::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/ i686-pc-linux-gnu/libstdc++-v3/.libs:/opt/gcc-4_2-build/i686-
pc-linux-gnu/libmudflap/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/ libssp/.lib
s:/opt/gcc-4_2-build/i686-pc-linux-gnu/libgomp/.libs:/opt/gcc-4_2- build/./gcc:
/opt/gcc-4_2-build/./prev-gcc
FAIL: gcc.c-torture/execute/20050316-2.c execution, -O1
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/ 20050316-2.c
-w -O2 -fno-show-column -lm -o
/opt/gcc-4_2-build/gcc/testsuite/gcc/20050316-2.x2 (timeout = 300)
PASS: gcc.c-torture/execute/20050316-2.c compilation, -O2
Setting LD_LIBRARY_PATH to
:/opt/gcc-4_2-build/gcc::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/ i686-pc-linux-gnu/libstdc++-v3/.libs:/opt/gcc-4_2-build/i686-
pc-linux-gnu/libmudflap/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/ libssp/.lib
s:/opt/gcc-4_2-build/i686-pc-linux-gnu/libgomp/.libs:/opt/gcc-4_2- build/./gcc:
/opt/gcc-4_2-build/./prev-gcc
FAIL: gcc.c-torture/execute/20050316-2.c execution, -O2
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/ 20050316-2.c
-w -O3 -fomit-frame-pointer -fno-show-column -lm -o
/opt/gcc-4_2-build/gcc/testsuite/gcc/20050316-2.x3 (timeout = 300)
PASS: gcc.c-torture/execute/20050316-2.c compilation, -O3
-fomit-frame-pointer
Setting LD_LIBRARY_PATH to
:/opt/gcc-4_2-build/gcc::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/ i686-pc-linux-gnu/libstdc++-v3/.libs:/opt/gcc-4_2-build/i686-
pc-linux-gnu/libmudflap/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/ libssp/.lib
s:/opt/gcc-4_2-build/i686-pc-linux-gnu/libgomp/.libs:/opt/gcc-4_2- build/./gcc:
/opt/gcc-4_2-build/./prev-gcc
PASS: gcc.c-torture/execute/20050316-2.c execution, -O3
-fomit-frame-pointer
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/ 20050316-2.c
-w -O3 -g -fno-show-column -lm -o
/opt/gcc-4_2-build/gcc/testsuite/gcc/20050316-2.x4 (timeout = 300)
PASS: gcc.c-torture/execute/20050316-2.c compilation, -O3 -g
Setting LD_LIBRARY_PATH to
:/opt/gcc-4_2-build/gcc::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/ i686-pc-linux-gnu/libstdc++-v3/.libs:/opt/gcc-4_2-build/i686-
pc-linux-gnu/libmudflap/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/ libssp/.lib
s:/opt/gcc-4_2-build/i686-pc-linux-gnu/libgomp/.libs:/opt/gcc-4_2- build/./gcc:
/opt/gcc-4_2-build/./prev-gcc
PASS: gcc.c-torture/execute/20050316-2.c execution, -O3 -g
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/ 20050316-2.c
-w -Os -fno-show-column -lm -o
/opt/gcc-4_2-build/gcc/testsuite/gcc/20050316-2.x5 (timeout = 300)
PASS: gcc.c-torture/execute/20050316-2.c compilation, -Os
Setting LD_LIBRARY_PATH to
:/opt/gcc-4_2-build/gcc::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/ i686-pc-linux-gnu/libstdc++-v3/.libs:/opt/gcc-4_2-build/i686-
pc-linux-gnu/libmudflap/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/ libssp/.lib
s:/opt/gcc-4_2-build/i686-pc-linux-gnu/libgomp/.libs:/opt/gcc-4_2- build/./gcc:
/opt/gcc-4_2-build/./prev-gcc
PASS: gcc.c-torture/execute/20050316-2.c execution, -Os
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/ 20050316-3.c
-w -O0 -fno-show-column -lm -o
/opt/gcc-4_2-build/gcc/testsuite/gcc/20050316-3.x0 (timeout = 300)
PASS: gcc.c-torture/execute/20050316-3.c compilation, -O0



Compiling the program as indicated above, adding "-g", and running with gdb
gives us this:


# gdb ./20050316-2.x0
(gdb) b 37
Breakpoint 1 at 0x804842e: file
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/ 20050316-2.c, line 37.
(gdb) l
27 int
28 main (void)
29 {
30 if (sizeof (short) != 2 || sizeof (int) != 4 || sizeof (long long)
!= 8)
31 return 0;
32
33 V2SF x = { 2.0, 2.0 };
34 union { long long l; float f[2]; int i[2]; } u;
35 u.l = test1 (x);
36 if (u.f[0] != 2.0 || u.f[1] != 2.0)
37 abort ();
38
(gdb) r
Starting program: /opt/gcc-4_2-build/20050316-2.x0


Breakpoint 1, main () at
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/ 20050316-2.c:37
37 abort ();
(gdb) print u.f
$1 = {2, 2}
(gdb) c
Continuing.


Program received signal SIGABRT, Aborted.
0xb7dd0947 in raise () from  /lib/tls/libc.so.6
(gdb)

The BUG is that u.f[0] and u.f[1] are equal to "2" instead of "2.0".



5): The error: "gcc.dg/builtin-apply4.c execution test" is logged thusly:

PASS: gcc.dg/builtin-apply3.c execution test
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/builtin- apply4.c -O2
-fno-show-column -lm -o ./builtin-apply4.exe (timeout = 300)
PASS: gcc.dg/builtin-apply4.c (test for excess errors)
Setting LD_LIBRARY_PATH to
:/opt/gcc-4_2-build/gcc::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/ i686-pc-linux-gnu/libstdc++-v3/.libs:/opt/gcc-4_2-build/i686-
pc-linux-gnu/libmudflap/.libs:/opt/gcc-4_
2-build/i686-pc-linux-gnu/libssp/.libs:/opt/gcc-4_2-build/i686-pc- linux-gnu/libgomp/.libs:/opt/gcc-4_2-build/./gcc:
/opt/gcc-4_2-build/./prev-gcc
FAIL: gcc.dg/builtin-apply4.c execution test
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/builtin-choose- expr-2.c
-fno-show-column -S -o builtin-choose-expr-2.s (timeout = 300)
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/builtin-choose- expr-2.c:
In function 'f':
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/builtin-choose- expr-2.c:11
: error: first argument to '__builtin_choose_expr' not a constant
compiler exited with status 1
output is:
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/builtin-choose- expr-2.c:
In function 'f':
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/builtin-choose- expr-2.c:11
: error: first argument to '__builtin_choose_expr' not a constant


PASS: gcc.dg/builtin-choose-expr-2.c (test for errors, line 11)
PASS: gcc.dg/builtin-choose-expr-2.c (test for excess errors)
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/builtin-choose- expr.c -O1
-Wall -fno-show-column -lm -o ./builtin-choose-expr.exe (timeout = 300)
PASS: gcc.dg/builtin-choose-expr.c (test for excess errors)
Setting LD_LIBRARY_PATH to
:/opt/gcc-4_2-build/gcc::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/ i686-pc-linux-gnu/libstdc++-v3/.libs:/opt/gcc-4_2-build/i686
-pc-linux-gnu/libmudflap/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/ libssp/.li
bs:/opt/gcc-4_2-build/i686-pc-linux-gnu/libgomp/.libs:/opt/gcc-4_2- build/./gcc
:/opt/gcc-4_2-build/./prev-gcc
PASS: gcc.dg/builtin-choose-expr.c execution test



The testsuite program
"/gcc-4_2-branch/gcc/testsuite/gcc.dg/builtin-choose-expr-2.c" looks like this:


/* Test diagnostic for invalid use of __builtin_choose_expr.  */
/*  Origin: Joseph Myers <_joseph@codesourcery.com_
(mailto:joseph@codesourcery.com) > */
/* {  dg-do compile } */
/* { dg-options "" } */

int a, b, c, d;

void
f (void)
{
a = __builtin_choose_expr (b, c, d); /* { dg-error "error: first argument to
'__builtin_choose_expr' not a constant" } */
}



We might have put the "dg-error" part AFTER the last "}", instead of before.
I'm not an expert on the testsuite or DejaGnu / Guile / etc ... The compiler
seems correct that the "first argument is not a constant".


Running it with gdb it fails at line 27 - is this not an XFAIL ?


(gdb) l
23 int
24 main (int argc, char **argv)
25 {
26 if (bar (116) != 117.0)
27 abort ();
28
29 return 0;
30 }
(gdb)
main () at
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/builtin- apply4.c:27
27 abort ();
(gdb)


Program received signal SIGABRT, Aborted.
0xb7e08947 in raise () from  /lib/tls/libc.so.6



6): The error: "gcc.dg/tree-ssa/gen-vect-11.c" is logged thusly:

Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2-build/ gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/tree-ssa/gen- vect-11.c -O2
-ftree-vectorize -ftree-vectorizer-verbose=3 -fwrapv -fdump-tree- vect-stats
-fno-show-column -lm -o ./gen-vect-11.exe (timeout = 300)
PASS: gcc.dg/tree-ssa/gen-vect-11.c (test for excess errors)
Setting LD_LIBRARY_PATH to
:/opt/gcc-4_2-build/gcc::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/ i686-pc-linux-gnu/libstdc++-v3/.libs:/opt/gcc-4_2-build/i686-
pc-linux-gnu/libmudflap/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/ libssp/.lib
s:/opt/gcc-4_2-build/i686-pc-linux-gnu/libgomp/.libs:/opt/gcc-4_2- build/./gcc:
/opt/gcc-4_2-build/./prev-gcc
PASS: gcc.dg/tree-ssa/gen-vect-11.c execution test
FAIL: gcc.dg/tree-ssa/gen-vect-11.c scan-tree-dump-times vectorized 1 loops 1



Running the xgcc line above and looking at the gen-vect-11.c. 080t.vect file
I see:


/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/tree-ssa/gen- vect-11.c:15:
note: not vectorized: relevant stmt not supported: D.2329_45 = D. 2328_44 +
D.2327_42
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/tree-ssa/gen- vect-11.c:9:
note: vectorized 0 loops in function.



Running this command instead:
# gcc-4.1
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/tree-ssa/gen- vect-11.c -O2 -ftree-vectorize -ftree-vectorizer-verbose=3 -fwrapv
-fdump-tree-vect-stats -fno-show-column -lm -o ./gen-vect-11.exe


and examining the "gen-vect-11.c.t77.vect" file that is produced I see a
fancy chart and this:


/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/tree-ssa/gen- vect-11.c:15:
note: LOOP VECTORIZED.
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/tree-ssa/gen- vect-11.c:23:
note: vectorized 1 loops in function.




7): The error: "gcc.dg/tree-ssa/gen-vect-11a.c" is logged thusly:

Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2-build/ gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/tree-ssa/gen- vect-11a.c
-O2 -ftree-vectorize -ftree-vectorizer-verbose=3 -fdump-tree-vect- stats
-fno-show-column -lm -o ./gen-vect-11a.exe (timeout = 300)
PASS: gcc.dg/tree-ssa/gen-vect-11a.c (test for excess errors)
Setting LD_LIBRARY_PATH to
:/opt/gcc-4_2-build/gcc::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/ i686-pc-linux-gnu/libstdc++-v3/.libs:/opt/gcc-4_2-build/i686-
pc-linux-gnu/libmudflap/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/ libssp/.lib
s:/opt/gcc-4_2-build/i686-pc-linux-gnu/libgomp/.libs:/opt/gcc-4_2- build/./gcc:
/opt/gcc-4_2-build/./prev-gcc
PASS: gcc.dg/tree-ssa/gen-vect-11a.c execution test
FAIL: gcc.dg/tree-ssa/gen-vect-11a.c scan-tree-dump-times vectorized 1 loops
1



Running the xgcc line above and looking at the gen-vect-11.c. 080t.vect file
I see:


/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/tree-ssa/gen- vect-11a.c:21
: note: not vectorized: relevant stmt not supported: D.2330_45 = D. 2329_44 &
D.2328_42
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/tree-ssa/gen- vect-11a.c:15
: note: vectorized 0 loops in function.



Running this command instead:
# # gcc-4.1
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/tree-ssa/gen- vect-11a.c -O2 -ftree-vectorize -ftree-vectorizer-verbose=3
-fdump-tree-vect-stats -fno-show-column -lm -o ./gen-vect-11a.exe


and examining the "gen-vect-11a.c.t77.vect" file that is produced I see a
fancy chart and this:


/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/tree-ssa/gen- vect-11a.c:21
: note: LOOP VECTORIZED.
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/tree-ssa/gen- vect-11a.c:29
: note: vectorized 1 loops in function.




My OS's gcc-4.1 is:

# gcc-4.1 -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/ usr --enable-shared --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext --enable- threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable- checking=release
i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)




Here is what a _couple_ of the many DFP errors look like:

PASS: gcc.dg/compat/scalar-by-value-dfp c_compat_main_tst.o compile
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
-fno-show-column -c -o c_compat_x_tst.o
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/compat/scalar- by-value-dfp_x.c (timeout = 300)
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/compat/scalar- by-value-dfp
_x.c: In function 'checkd128':
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/compat/scalar- by-value-dfp
_x.c:149: error: unrecognizable insn:
(insn 24 23 25 3 (set (subreg:TI (reg:TD 68) 0)
(subreg:TI (const_double:TD 0 [0x0] 123.456 [N/A]) 0)) -1 (nil)
(insn_list:REG_LIBCALL 32 (nil)))
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/compat/scalar- by-value-dfp
_x.c:149: internal compiler error: in extract_insn, at recog.c:2077
Please submit a full bug report,
with preprocessed source if appropriate.
See <_URL:http://gcc.gnu.org/bugs.html_ (http://gcc.gnu.org/ bugs.html) > for
instructions.
compiler exited with status 1
output is:
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/compat/scalar- by-value-dfp
_x.c: In function 'checkd128':
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/compat/scalar- by-value-dfp
_x.c:149: error: unrecognizable insn:
(insn 24 23 25 3 (set (subreg:TI (reg:TD 68) 0)
(subreg:TI (const_double:TD 0 [0x0] 123.456 [N/A]) 0)) -1 (nil)
(insn_list:REG_LIBCALL 32 (nil)))
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/compat/scalar- by-value-dfp
_x.c:149: internal compiler error: in extract_insn, at recog.c:2077
Please submit a full bug report,
with preprocessed source if appropriate.
See <_URL:http://gcc.gnu.org/bugs.html_ (http://gcc.gnu.org/ bugs.html) > for
instructions.


FAIL: gcc.dg/compat/scalar-by-value-dfp c_compat_x_tst.o compile, (internal
compiler error)
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
-fno-show-column -c -o c_compat_y_tst.o
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/compat/scalar- by-value-dfp_y.c (timeout = 300)



The DFPs seem to group like that and produce sets of seemingly identical
failures.
You might be able to fix one table / structure and fix everything - I'd need
to look
before _I_ said it was easy - and it's late (or early). :) The DFP bugs are
what
is making the "UNRESOLVED" count so high.




Here is a portion of the log where the message seemed not to get captured
and a result determined (XFAIL or FAIL):



Running
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/compat/struct- layout-1.exp ...
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2-build/ gcc/
dfprt22495.c -fno-show-column -lm -o dfprt22495.x (timeout = 300)
Setting LD_LIBRARY_PATH to
:/opt/gcc-4_2-build/gcc::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/ i686-pc-linux-gnu/libstdc++-v3/.libs:/opt/gcc-4_2-build/i686-
pc-linux-gnu/libmudflap/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/ libssp/.lib
s:/opt/gcc-4_2-build/i686-pc-linux-gnu/libgomp/.libs:/opt/gcc-4_2- build/./gcc:
/opt/gcc-4_2-build/./prev-gcc
Executing on host: gcc -g -O2 -o
/opt/gcc-4_2-build/gcc/testsuite/gcc/gcc.dg-struct-layout-1_generate
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/compat/struct- layout-1_generate.c
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/compat/generate- random.c
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/compat/generate- random_r.c (timeout = 300)
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
short_enums22495.c -fno-show-column -S -o short_enums22495.s (timeout = 300)
short_enums22495.c:3: error: size of array 's' is negative
compiler exited with status 1
output is:
short_enums22495.c:3: error: size of array 's' is negative


Executing on host:
/opt/gcc-4_2-build/gcc/testsuite/gcc/gcc.dg-struct- layout-1_generate -s /root/downloads/gcc-4_2-branch/gcc/testsuite/ gcc.dg/compat -d
/opt/gcc-4_2-build/gcc/testsuite/gcc/gcc.dg-struct-layout-1 (timeout =
300)
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
-I/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/compat -fno- show-column
-c -o c_compat_main_tst.o
/opt/gcc-4_2-build/gcc/testsuite/gcc/gcc.dg-struct-layout-1/ t001_main.c (timeout = 300)
PASS: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_main_tst.o compile




It even tries some tests that perhaps it should not bother doing.
(gcc.dg/ultrasp2.c, ultrasp3.c and ultrasp4.c) Since it passed those I guess I got a
little sparc in my Athlon - couldn't resist.



Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/ultrasp1.c
-fno-show-column -S -o ultrasp1.s (timeout = 300)
PASS: gcc.dg/ultrasp1.c (test for excess errors)
UNSUPPORTED: gcc.dg/ultrasp10.c
UNSUPPORTED: gcc.dg/ultrasp11.c
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/ultrasp2.c
-fno-show-column -S -o ultrasp2.s (timeout = 300)
PASS: gcc.dg/ultrasp2.c (test for excess errors)
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/ultrasp3.c
-fno-show-column -S -o ultrasp3.s (timeout = 300)
PASS: gcc.dg/ultrasp3.c (test for excess errors)
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/ultrasp4.c -O2
-fno-show-column -S -o ultrasp4.s (timeout = 300)
PASS: gcc.dg/ultrasp4.c (test for excess errors)
UNSUPPORTED: gcc.dg/ultrasp5.c
UNSUPPORTED: gcc.dg/ultrasp6.c
UNSUPPORTED: gcc.dg/ultrasp7.c
UNSUPPORTED: gcc.dg/ultrasp8.c
UNSUPPORTED: gcc.dg/ultrasp9.c
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/gcc.dg/ unaligned-1.c -ansi
-pedantic-errors -fno-show-column -lm -o ./unaligned-1.exe (timeout = 300)



All in all the "C" testsuite does need a once over ... If we could be more
certain that "C" worked perfectly then we could be more certain that the rest
of the languages were compiled
with a correct compiler and not a broken one. Overall, 4.2.1 works quite
well.



---



The gfortran tests have this in the .log:


PASS: gfortran.dg/cray_pointers_7.f90 -Os execution test
Executing on host: /opt/gcc-4_2-build/gcc/testsuite/gfortran/../../ gfortran
-B/opt/gcc-4_2-build/gcc/testsuite/gfortran/../../
/root/downloads/gcc-4_2-branch/gcc/testsuite/gfortran.dg/ csqrt_2.f -O0 -pedantic-errors
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libgfortran/.libs
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libgfortran/.libs
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libiberty -lm -o ./ csqrt_2.exe (timeout = 300)
PASS: gfortran.dg/csqrt_2.f -O0 (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/opt/gcc-4_2-build/i686-pc-linux-gnu/./libgfortran/.libs:/opt/ gcc-4_2-build/i686-pc-linux-gnu/./libgfortran/.libs:/opt/gcc-4_
2-build/gcc:.:/opt/gcc-4_2-build/i686-pc-linux-gnu/./ libgfortran/.libs:/opt/gc
c-4_2-build/i686-pc-linux-gnu/./libgfortran/.libs:/opt/gcc-4_2- build/gcc:/opt/
gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/.libs:/opt/gcc-4_2- build/i686-pc-
linux-gnu/libmudflap/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/ libssp/.libs:/
opt/gcc-4_2-build/i686-pc-linux-gnu/libgomp/.libs:/opt/gcc-4_2- build/./gcc:/op
t/gcc-4_2-build/./prev-gcc
XPASS: gfortran.dg/csqrt_2.f -O0 execution test
Executing on host: /opt/gcc-4_2-build/gcc/testsuite/gfortran/../../ gfortran
-B/opt/gcc-4_2-build/gcc/testsuite/gfortran/../../
/root/downloads/gcc-4_2-branch/gcc/testsuite/gfortran.dg/ csqrt_2.f -O1 -pedantic-errors
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libgfortran/.libs
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libgfortran/.libs
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libiberty -lm -o ./ csqrt_2.exe (timeout = 300)
PASS: gfortran.dg/csqrt_2.f -O1 (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/opt/gcc-4_2-build/i686-pc-linux-gnu/./libgfortran/.libs:/opt/ gcc-4_2-build/i686-pc-linux-gnu/./libgfortran/.libs:/opt/gcc-4_
2-build/gcc:.:/opt/gcc-4_2-build/i686-pc-linux-gnu/./ libgfortran/.libs:/opt/gc
c-4_2-build/i686-pc-linux-gnu/./libgfortran/.libs:/opt/gcc-4_2- build/gcc:/opt/
gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/.libs:/opt/gcc-4_2- build/i686-pc-
linux-gnu/libmudflap/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/ libssp/.libs:/
opt/gcc-4_2-build/i686-pc-linux-gnu/libgomp/.libs:/opt/gcc-4_2- build/./gcc:/op
t/gcc-4_2-build/./prev-gcc
XPASS: gfortran.dg/csqrt_2.f -O1 execution test



I'm not up on the "new" fortran but it is funny that "cray_pointers_7.f90"
would pass and that "csqrt_2.f" would be expected to fail ...


The expect scripts says:

c { dg-do run { xfail *-*-linux-gnu } }


I also tried gfortran-4.1 and it seemed to compile on that too.



---



The obj-c++ failures for "obj-c++.dg/cxx-ivars-2.mm", are here:


(gdb) l /root/downloads/gcc-4_2-branch/libobjc/class.c:561
556 /* Assign subclass links. */
557 while ((class1 = class_table_next (&es)))
558 {
559 /* Make sure we have what we think we have. */
560 assert (CLS_ISCLASS (class1));
561 assert (CLS_ISMETA (class1->class_pointer));
562
563 /* The class_pointer of all meta classes point to Object's
meta
564 class. */
565 class1->class_pointer->class_pointer =
object_class->class_pointer;
(gdb)



(gdb) fini
Run till exit from #0 class_table_next (e=0xbfb106c8) at
/root/downloads/gcc-4_2-branch/libobjc/class.c:323
0xb7f6da7e in __objc_resolve_class_links () at
/root/downloads/gcc-4_2-branch/libobjc/class.c:557
557 while ((class1 = class_table_next (&es)))
Value returned is $1 = (struct objc_class *) 0x8049ea0
(gdb) step
560 assert (CLS_ISCLASS (class1));
(gdb) where
#0 __objc_resolve_class_links () at
/root/downloads/gcc-4_2-branch/libobjc/class.c:560
#1 0xb7f7300a in __objc_install_dispatch_table_for_class (class=0x8049ea0)
at /root/downloads/gcc-4_2-branch/libobjc/sendmsg.c:415
#2 0xb7f741fe in objc_msg_lookup (receiver=0x8049ea0, op=0x8049ee0)
at /root/downloads/gcc-4_2-branch/libobjc/sendmsg.c:314
#3 0x080486d7 in main () at
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/cxx- ivars-2.mm:58
(gdb)




The obj-c++ failures for "obj-c++.dg/encode-8.mm", are here:

12      int main(void)  {
13        const char *BOOL_ptr =  @encode(BOOL *);
14        const char  *char_ptr = @encode(char *);
(gdb)  step
16        if(strcmp(BOOL_ptr,  "^c"))
(gdb) print BOOL_ptr
$1 = 0x8048640 "*"
(gdb)  step
17          abort();

That fails on g++-4.1 too.



The obj-c++ failures for "obj-c++.dg/isa-field-1.mm", are here:

PASS: obj-c++.dg/gnu-runtime-3.mm execution test
Executing on host: /opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../g++
-B/opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm -nostdinc++
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc- linux-gnu
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/libsupc++
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/include/backward -I/ root/downloads/gcc-4_2-branch/libstdc++-v3/testsuite/util
-fmessage-length=0 -ansi -pedantic-errors -Wno-long-long
-I/root/downloads/gcc-4_2-branch/gcc/testsuite/../../libobjc -S - o isa-field-1.s (timeout = 300)
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm: In
function 'objc_class* test1(objc_object*)':
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm:17:
error: 'struct objc_object' has no member named 'isa'
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm: In
function 'objc_class* _i_Object_Test_test1_(Object*, const objc_selector*,
objc_object*)':
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm:21:
error: 'struct objc_object' has no member named 'isa'
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm: In
function 'objc_class* test2(objc_object*)':
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm:30:
error: 'struct objc_object' has no member named 'isa'
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm: In
function 'objc_class* _i_Derived__test2_(Derived*, const objc_selector*,
objc_object*)':
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm:34:
error: 'struct objc_object' has no member named 'isa'
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm: In
function 'objc_class* test3(objc_object*)':
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm:41:
error: 'struct objc_object' has no member named 'isa'
compiler exited with status 1
output is:
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm: In
function 'objc_class* test1(objc_object*)':
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm:17:
error: 'struct objc_object' has no member named 'isa'
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm: In
function 'objc_class* _i_Object_Test_test1_(Object*, const objc_selector*,
objc_object*)':
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm:21:
error: 'struct objc_object' has no member named 'isa'
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm: In
function 'objc_class* test2(objc_object*)':
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm:30:
error: 'struct objc_object' has no member named 'isa'
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm: In
function 'objc_class* _i_Derived__test2_(Derived*, const objc_selector*,
objc_object*)':
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm:34:
error: 'struct objc_object' has no member named 'isa'
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm: In
function 'objc_class* test3(objc_object*)':
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm:41:
error: 'struct objc_object' has no member named 'isa'


FAIL: obj-c++.dg/isa-field-1.mm (test for excess errors)
Excess errors:
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm:17:
error: 'struct objc_object' has no member named 'isa'
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm:21:
error: 'struct objc_object' has no member named 'isa'
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm:30:
error: 'struct objc_object' has no member named 'isa'
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm:34:
error: 'struct objc_object' has no member named 'isa'
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm:41:
error: 'struct objc_object' has no member named 'isa'


Executing on host: /opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../g++
-B/opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/ivar-list- semi.mm -nostdinc++
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc- linux-gnu
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/libsupc++
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/include/backward -I/ root/downloads/gcc-4_2-branch/libstdc++-v3/testsuite/util
-fmessage-length=0 -ansi -pedantic-errors -Wno-long-long
-I/root/downloads/gcc-4_2-branch/gcc/testsuite/../../libobjc -S - o ivar-list-semi.s (timeout = 300)
PASS: obj-c++.dg/ivar-list-semi.mm (test for excess errors)



When I compile that file with g++-4.1 (see "-v" info above) I get the same
errors.


Here is the result when compiled with g++-3.4:

# g++-3.4 -g
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm -nostdinc++
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc- linux-gnu
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include -I/ root/downloads/gcc-4_2-branch/libstdc++-v3/libsupc++
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/include/backward
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/testsuite/util - fmessage-length=0 -ansi -pedantic-errors
-Wno-long-long -I/root/downloads/gcc-4_2-branch/gcc/ testsuite/../../libobjc
-S -o isa-field-1.s
g++-3.4:
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/isa- field-1.mm: linker input file unused because linking not done



# g++-3.4 -v
Reading specs from /usr/lib/gcc/i486-linux-gnu/3.4.6/specs
Configured with: ../src/configure -v --enable-languages=c,c+ +,f77,pascal
--prefix=/usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/ include/c++/3.4
--enable-shared --with-system-zlib --enable-nls --without-included- gettext
--program-suffix=-3.4 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --with-tune=i686 i486-linux-gnu
Thread model: posix
gcc version 3.4.6 (Debian 3.4.6-5)




The obj-c++ failures for "obj-c++.dg/lookup-2.mm", are here:

PASS: obj-c++.dg/lookup-1.mm (test for excess errors)
Executing on host: /opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../g++
-B/opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/ lookup-2.mm -nostdinc++
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc- linux-gnu
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/libsupc++ -I/root/ downloads/gcc-4_2-branch/libstdc++-v3/include/backward
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/testsuite/util
-fmessage-length=0 -ansi -pedantic-errors -Wno-long-long
-I/root/downloads/gcc-4_2-branch/gcc/testsuite/../../libobjc
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libstdc++-v3/src/.libs
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libstdc++-v3/src/.libs -L/ opt/gcc-4_2-build/i686-pc-linux-gnu/./libiberty
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libobjc/.libs -lobjc -lm -o ./lookup-2.exe (timeout
= 300)
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/ lookup-2.mm: In
function 'MyWidget* _c_Container__elementForView_(objc_object*, const
objc_selector*, Foo*)':
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/lookup-2.mm: 40:
error: cannot convert 'objc_object*' to 'MyWidget*' in initialization
compiler exited with status 1
output is:
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/ lookup-2.mm: In
function 'MyWidget* _c_Container__elementForView_(objc_object*, const
objc_selector*, Foo*)':
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/lookup-2.mm: 40:
error: cannot convert 'objc_object*' to 'MyWidget*' in initialization


FAIL: obj-c++.dg/lookup-2.mm (test for excess errors)
Excess errors:
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/lookup-2.mm: 40:
error: cannot convert 'objc_object*' to 'MyWidget*' in initialization


UNRESOLVED: obj-c++.dg/lookup-2.mm compilation failed to produce executable
Executing on host: /opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../g++
-B/opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/ method-1.mm -nostdinc++
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc- linux-gnu
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/libsupc++ -I/root/ downloads/gcc-4_2-branch/libstdc++-v3/include/backward
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/testsuite/util
-fmessage-length=0 -ansi -pedantic-errors -Wno-long-long
-I/root/downloads/gcc-4_2-branch/gcc/testsuite/../../libobjc -S - o method-1.s (timeout = 300)
PASS: obj-c++.dg/method-1.mm (test for bogus messages, line 14)




The obj-c++ failures for "obj-c++.dg/try-catch-2.mm", are here:

PASS: obj-c++.dg/try-catch-11.mm (test for excess errors)
Executing on host: /opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../g++
-B/opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/try- catch-2.mm -nostdinc++
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc- linux-gnu
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/libsupc++
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/include/backward -I/ root/downloads/gcc-4_2-branch/libstdc++-v3/testsuite/util
-fmessage-length=0 -fobjc-exceptions
-I/root/downloads/gcc-4_2-branch/gcc/testsuite/../../libobjc -L/ opt/gcc-4_2-build/i686-pc-linux-gnu/./libstdc++-v3/src/.libs
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libstdc++-v3/src/.libs
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libiberty
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libobjc/.libs -lobjc -lm -o ./try-catch-2.exe (timeout = 300)
/tmp/ccQBWjdi.o:(.gcc_except_table+0x14): undefined reference to `typeinfo
for Frob*'
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/tmp/ccQBWjdi.o:(.gcc_except_table+0x14): undefined reference to `typeinfo
for Frob*'
collect2: ld returned 1 exit status


FAIL: obj-c++.dg/try-catch-2.mm (test for excess errors)
Excess errors:
/tmp/ccQBWjdi.o:(.gcc_except_table+0x14): undefined reference to `typeinfo
for Frob*'


UNRESOLVED: obj-c++.dg/try-catch-2.mm compilation failed to produce
executable
Executing on host: /opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../g++
-B/opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/try- catch-3.mm -nostdinc++
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc- linux-gnu
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/libsupc++
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/include/backward -I/ root/downloads/gcc-4_2-branch/libstdc++-v3/testsuite/util
-fmessage-length=0 -fobjc-exceptions
-I/root/downloads/gcc-4_2-branch/gcc/testsuite/../../libobjc -S - o try-catch-3.s (timeout = 300)
PASS: obj-c++.dg/try-catch-3.mm (test for excess errors)




The obj-c++ failures for "obj-c++.dg/try-catch-9.mm", are here:

PASS: obj-c++.dg/try-catch-8.mm (test for excess errors)
Executing on host: /opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../g++
-B/opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/try- catch-9.mm -nostdinc++
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc- linux-gnu
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/libsupc++
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/include/backward -I/ root/downloads/gcc-4_2-branch/libstdc++-v3/testsuite/util
-fmessage-length=0 -fobjc-exceptions -O2
-I/root/downloads/gcc-4_2-branch/gcc/testsuite/../../libobjc
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libstdc++-v3/src/.libs - L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libstdc++-v3/src/.libs
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libiberty
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libobjc/.libs -lobjc -lm -o ./try-catch-9.exe (timeout = 300)
/tmp/ccmLdglF.o:(.gcc_except_table+0x14): undefined reference to `typeinfo
for Object*'
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/tmp/ccmLdglF.o:(.gcc_except_table+0x14): undefined reference to `typeinfo
for Object*'
collect2: ld returned 1 exit status


FAIL: obj-c++.dg/try-catch-9.mm (test for excess errors)
Excess errors:
/tmp/ccmLdglF.o:(.gcc_except_table+0x14): undefined reference to `typeinfo
for Object*'


UNRESOLVED: obj-c++.dg/try-catch-9.mm compilation failed to produce
executable
Executing on host: /opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../g++
-B/opt/gcc-4_2-build/gcc/testsuite/obj-c++/../../
/root/downloads/gcc-4_2-branch/gcc/testsuite/obj-c++.dg/typedef- alias-1.mm -nostdinc++
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc- linux-gnu
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/libstdc++-v3/include
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/libsupc++
-I/root/downloads/gcc-4_2-branch/libstdc++-v3/include/backward -I/ root/downloads/gcc-4_2-branch/libstdc++-v3/testsuite/util
-fmessage-length=0 -ansi -pedantic-errors -Wno-long-long
-I/root/downloads/gcc-4_2-branch/gcc/testsuite/../../libobjc -S - o typedef-alias-1.s (timeout = 300)
PASS: obj-c++.dg/typedef-alias-1.mm (test for excess errors)



---


The "objc" tests _seemed_ to pass without error. I don't know a lot about
"objc" but I did peek at the .log file - didn't check what I don't know. Saw
some peculiar stuff.


It makes me wonder if something might be broken, but I know more about
javabeans than I know beans about this (TM). IF we had a "total number of expected
tests" section and
all the FAIL / XFAIL / etc. had to add up to some number, then we would know
...




1) Why "one kind and not the other" supported.

PASS: objc.dg/bitfield-1.m execution test
UNSUPPORTED:  objc.dg/bitfield-2.m
PASS: objc.dg/bitfield-3.m  (test for warnings,  line 21)



2) Why "one kind and not the other" _AND_ "all over the place" in what is
actually being tested, are we trying to test the functions in the ".m" file OR
are we trying to see if the driver can notice that it not being fed legal
parameters (EG: '-fconstant-string-class=EMPTY_STRING'). Why would some simple
string tests be unsupported.


PASS: objc.dg/comp-types-9.m (test for excess errors)
set_ld_library_path_env_vars:
ld_library_path=.::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/gcc:/ opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-b
uild/i686-pc-linux-gnu/./libobjc/.libs
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/objc.dg/const-str-1.m
-fgnu-runtime -I/root/downloads/gcc-4_2-branch/gcc/testsuite/../../ libobjc
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libobjc/.libs -S -o const-str-1.s (timeout =
300)
/root/downloads/gcc-4_2-branch/gcc/testsuite/objc.dg/const-str-1.m: In
function 'foo':
/root/downloads/gcc-4_2-branch/gcc/testsuite/objc.dg/const-str-1.m:11:
error: cannot find interface declaration for 'NXConstantString'
compiler exited with status 1
output is:
/root/downloads/gcc-4_2-branch/gcc/testsuite/objc.dg/const-str-1.m: In
function 'foo':
/root/downloads/gcc-4_2-branch/gcc/testsuite/objc.dg/const-str-1.m:11:
error: cannot find interface declaration for 'NXConstantString'


PASS: objc.dg/const-str-1.m (test for errors, line 11)
PASS: objc.dg/const-str-1.m (test for excess errors)
UNSUPPORTED: objc.dg/const-str-10.m
UNSUPPORTED: objc.dg/const-str-11.m
set_ld_library_path_env_vars:
ld_library_path=.::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/gcc:/ opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-b
uild/i686-pc-linux-gnu/./libobjc/.libs
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/objc.dg/const- str-12.m -Wall
-funit-at-a-time -fgnu-runtime
-I/root/downloads/gcc-4_2-branch/gcc/testsuite/../../libobjc -L/ opt/gcc-4_2-build/i686-pc-linux-gnu/./libobjc/.libs -S -o
const-str-12.s (timeout = 300)
PASS: objc.dg/const-str-12.m (test for bogus messages, line 13)
PASS: objc.dg/const-str-12.m (test for excess errors)
set_ld_library_path_env_vars:
ld_library_path=.::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/gcc:/ opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-b
uild/i686-pc-linux-gnu/./libobjc/.libs
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/objc.dg/const-str-2.m
-fconstant-string-class= -I/root/downloads/gcc-4_2-branch/gcc/ testsuite/../../libobjc
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libobjc/.libs -S -o const-str-2.s
(timeout = 300)
cc1obj: error: no class name specified with '-fconstant-string- class='
compiler exited with status 1
output is:
cc1obj: error: no class name specified with '-fconstant-string- class='


PASS: objc.dg/const-str-2.m (test for errors, line )
PASS: objc.dg/const-str-2.m (test for excess errors)
UNSUPPORTED: objc.dg/const-str-3.m
UNSUPPORTED: objc.dg/const-str-4.m
set_ld_library_path_env_vars:
ld_library_path=.::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/gcc:/ opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-b
uild/i686-pc-linux-gnu/./libobjc/.libs
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/objc.dg/const-str-5.m
-fconstant-string-class=MyConstantString
-I/root/downloads/gcc-4_2-branch/gcc/testsuite/../../libobjc -L/ opt/gcc-4_2-build/i686-pc-linux-gnu/./libobjc/.libs -S -o
const-str-5.s (timeout = 300)
PASS: objc.dg/const-str-5.m (test for excess errors)
set_ld_library_path_env_vars:
ld_library_path=.::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/gcc:/ opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-b
uild/i686-pc-linux-gnu/./libobjc/.libs
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/gcc/testsuite/objc.dg/const-str-6.m
-fconstant-string-class=MyConstantString -I/
root/downloads/gcc-4_2-branch/gcc/testsuite/../../libobjc -L/opt/ gcc-4_2-build/i686-pc-linux-gnu/./libobjc/.libs -S -o
const-str-6.s (timeout = 300)
/root/downloads/gcc-4_2-branch/gcc/testsuite/objc.dg/const-str-6.m:27:
error: interface 'MyConstantString' does not have valid constant string layout
compiler exited with status 1
output is:
/root/downloads/gcc-4_2-branch/gcc/testsuite/objc.dg/const-str-6.m:27:
error: interface 'MyConstantString' does not have valid constant string layout


PASS: objc.dg/const-str-6.m  (test for errors, line 27)
PASS:  objc.dg/const-str-6.m (test for excess errors)
UNSUPPORTED:  objc.dg/const-str-7.m
UNSUPPORTED: objc.dg/const-str-8.m
UNSUPPORTED:  objc.dg/const-str-9.m



3) These lines "just appear" in the middle doing tests. They don't seem to
be full output from a test program. They do seem to be truncated output.


unknown type ])
unknown type ]sjcjsc}]}
unknown type  ]C(U16QI=[16c])If{?=}Q(?=[3l])}


I thought I'd try one...


Here is a small chunk of the .log:

Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2-build/ gcc/
/opt/gcc-4_2-build/gcc/testsuite/objc/objc.dg-struct-layout- encoding-1/t029_main.m
-w -I/root/downloads/gcc-4_2-branch/gcc/testsuite/objc.dg/gnu- encoding
-fgnu-runtime -I/root/downloads/gcc-4_2-branch/gcc/testsuite/../../ libobjc
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libobjc/.libs -lobjc - lm -o
./t029_main.exe (timeout = 300)
PASS: objc.dg-struct-layout-encoding-1/t029_main.m (test for excess errors)
Setting LD_LIBRARY_PATH to
.::/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/ gcc:/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/gcc:/opt/gcc-
4_2-build/i686-pc-linux-gnu/./libobjc/.libs:.::/opt/gcc-4_2-build/ gcc:/opt/gcc
-4_2-build/gcc:/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/gcc:/opt/ gcc-4_2-buil
d/gcc:/opt/gcc-4_2-build/i686-pc-linux-gnu/./libobjc/.libs:/opt/ gcc-4_2-build/
i686-pc-linux-gnu/libstdc++-v3/.libs:/opt/gcc-4_2-build/i686-pc- linux-gnu/libm
udflap/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/libssp/.libs:/opt/ gcc-4_2-bu
ild/i686-pc-linux-gnu/libgomp/.libs:/opt/gcc-4_2-build/./gcc:/opt/ gcc-4_2-buil
d/./prev-gcc
unknown type ]C(U16QI=[16c])If{?=}Q(?=[3l])}
XFAIL: objc.dg-struct-layout-encoding-1/t029_main.m execution test



/opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2-build/gcc/
/opt/gcc-4_2-build/gcc/testsuite/objc/objc.dg-struct-layout- encoding-1/t029_main.m -w
-I/root/downloads/gcc-4_2-branch/gcc/testsuite/objc.dg/gnu- encoding -fgnu-runtime
-I/root/downloads/gcc-4_2-branch/gcc/testsuite/../../libobjc
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libobjc/.libs -lobjc - lm -o ./t029_main.exe


# ./t029_main.exe
unknown type  ]C(U16QI=[16c])If{?=}Q(?=[3l])}
Aborted
#

Looking at the source it has some long printf statements ...

/opt/gcc-4_2-build/gcc/
/opt/gcc-4_2-build/gcc/testsuite/objc/objc.dg-struct-layout- encoding-1/t029_main.m


printf(#type " { " #fields "} size is %u, but is calulated as %u\n", \
sizeof(type S##n), objc_sizeof_type (encoding)); \



If that line will never be executed and your expecting the program to fail
then why go to the effort of making the printf that long? why not just:


      printf(#type " { " #fields "} s %u, c %u\n",  \
sizeof(type S##n), objc_sizeof_type (encoding));  \


If it will always fail and you will never try to run it can't the printf be
removed altogether? I hope it was not XFAILed to avoid XFIX'ing it (TM). One
thing I _do_ know
is that the error message (without even a line number or function) is not
very helpful.



4): How are the automatic scripts that read the bug report mail supposed to
detect "---PASS: " at the begining of the line when usually it would say
"PASS: " ? I have
not seen the scripts so I don't know if it would fail. If someone writes a
comment in their "prepend_logs" or "append_logs" that uses "PASS" as a word we
don't want
the statistics to go haywire.



This could be fixed by emitting an extra C/R:


# grep -r "\--PASS" gcc/testsuite/*
gcc/testsuite/objc/objc.log:---PASS: objc/execute/exceptions/ catchall-1.m
execution, -O0 -fgnu-runtime
gcc/testsuite/objc/objc.log:---PASS: objc/execute/exceptions/ catchall-1.m
execution, -O1 -fgnu-runtime
gcc/testsuite/objc/objc.log:---PASS: objc/execute/exceptions/ catchall-1.m
execution, -O2 -fgnu-runtime
gcc/testsuite/objc/objc.log:---PASS: objc/execute/exceptions/ catchall-1.m
execution, -O3 -fomit-frame-pointer -fgnu-runtime
gcc/testsuite/objc/objc.log:---PASS: objc/execute/exceptions/ catchall-1.m
execution, -O3 -g -fgnu-runtime
gcc/testsuite/objc/objc.log:---PASS: objc/execute/exceptions/ catchall-1.m
execution, -Os -fgnu-runtime



---



The libffi tests have only one function failing: libffi.call/ return_fl2.c in
all the tests applied to it. Logfile output: "1022.800049 vs 1022.800018"


I get the same answer if I compile with gcc-3.3, gcc-3.4, gcc-4.1 or "gcc
version 4.2.0 20070501 (prerelease)"



---



The libgomp tests say it passes all tests, but here is a bit of the log:


Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for
target.
WARNING: Couldn't find tool config file for unix, using default.
Running /root/downloads/gcc-4_2-branch/libgomp/testsuite/libgomp.c/ c.exp ...
set_ld_library_path_env_vars: ld_library_path=
set_ld_library_path_env_vars:
ld_library_path=.:/opt/gcc-4_2-build/i686-pc-linux-gnu/./ libgomp/.libs:/opt/gcc-4_2-build/gcc
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/libgomp/testsuite/libgomp.c/appendix- a/a.15.1.c
-B/opt/gcc-4_2-build/i686-pc-linux-gnu/./libgomp/
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/./libgomp -I/root/downloads/ gcc-4_2-branch/libgomp/testsuite/..
-march=i486 -fmessage-length=0 -fopenmp -O2 -fopenmp
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libgomp/.libs -lgomp -lm -o ./a.15.1.exe (timeout =
300)
PASS: libgomp.c/appendix-a/a.15.1.c (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/opt/gcc-4_2-build/i686-pc-linux-gnu/./libgomp/.libs:/opt/gcc-4_2- build/gcc:.:/opt/gcc-4_2-build/i686-pc-linux-gnu/./libgomp/
.libs:/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/i686-pc-linux-gnu/ libstdc++-v3
/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/libmudflap/.libs:/opt/ gcc-4_2-buil
d/i686-pc-linux-gnu/libssp/.libs:/opt/gcc-4_2-build/i686-pc-linux- gnu/libgomp/
.libs:/opt/gcc-4_2-build/./gcc:/opt/gcc-4_2-build/./prev-gcc
...
PASS: libgomp.c/appendix-a/a.5.1.c execution test
set_ld_library_path_env_vars:
ld_library_path=.:/opt/gcc-4_2-build/i686-pc-linux-gnu/./ libgomp/.libs:/opt/gcc-4_2-build/gcc
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
-B/opt/gcc-4_2-build/i686-pc-linux-gnu/./libgomp/
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/./libgomp -I/root/downloads/ gcc-4_2-branch/libgomp/testsuite/..
-march=i486 -fmessage-length=0 -fopenmp -c -o lp6427292.o lp6427292.c
(timeout = 300)
lp6427292.c:4: error: size of array 'dummy' is negative
compiler exited with status 1
output is:
lp6427292.c:4: error: size of array 'dummy' is negative
(A BLANK LINE)
set_ld_library_path_env_vars:
ld_library_path=.:/opt/gcc-4_2-build/i686-pc-linux-gnu/./ libgomp/.libs:/opt/gcc-4_2-build/gcc
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2- build/gcc/
/root/downloads/gcc-4_2-branch/libgomp/testsuite/libgomp.c/atomic-1.c
-B/opt/gcc-4_2-build/i686-pc-linux-gnu/./libgomp/
-I/opt/gcc-4_2-build/i686-pc-linux-gnu/./libgomp -I/root/downloads/ gcc-4_2-branch/libgomp/testsuite/..
-march=i486 -fmessage-length=0 -fopenmp -O2 -fopenmp -march=pentium
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libgomp/.libs -lgomp -lm -o ./atomic-1.exe
(timeout = 300)
...


Little problem with the scripts.


On the subject of the script's compiled programs operation (IE: not the
scripts / the programs that are compiled by the scripts). There seems an enormous
number of single threaded tests with an occasional 2 threaded test and there
seems little concern for the huge inaccuracy of the jacobi.f results
(Solution Error: 6.995997072588484E-003).



---



So this doesn't get too long the only other thing I will comment on is the
libjava mauve test.


Here is what the libjava.log says:

testcase
/root/downloads/gcc-4_2-branch/libjava/testsuite/libjava.loader/ loader.exp completed in 13 seconds
Running
/root/downloads/gcc-4_2-branch/libjava/testsuite/libjava.mauve/ mauve.exp ...
PASS: Mauve configure
FAIL: Mauve build
testcase
/root/downloads/gcc-4_2-branch/libjava/testsuite/libjava.mauve/ mauve.exp completed in 5 seconds
Running
/root/downloads/gcc-4_2-branch/libjava/testsuite/libjava.special/ special.exp ...



Here is the screen output:


Running
/root/downloads/gcc-4_2-branch/libjava/testsuite/libjava.mauve/ mauve.exp ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for Windows and DOS and OS/2 style pathnames... no
checking for gcc... /opt/gcc-4_2-build/./gcc/xgcc
-B/opt/gcc-4_2-build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/ i686-pc-linux-gnu/lib/ -isystem
/usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys- include
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /opt/gcc-4_2-build/./gcc/xgcc -B/opt/gcc-4_2- build/./gcc/
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem
/usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys- include accepts
-g... yes
checking for /opt/gcc-4_2-build/./gcc/xgcc -B/opt/gcc-4_2-build/./ gcc/
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem
/usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys- include option to
accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /opt/gcc-4_2-build/./gcc/xgcc
-B/opt/gcc-4_2-build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/ i686-pc-linux-gnu/lib/
-isystem /usr/i686-pc-linux-gnu/include -isystem
/usr/i686-pc-linux-gnu/sys-include... none
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:
/root/downloads/gcc-4_2-branch/libjava/testsuite/libjava.mauve/ mauve/Makefile.in seems to ignore the --datarootdir setting
config.status: creating gnu/testlet/config.java
config.status: executing depfiles commands
make[5]: Entering directory
`/opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/testsuite/mauve-build'
make[5]: *** No rule to make target `classes.stamp'.
make[5]: Leaving directory
`/opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/testsuite/mauve-build'
FAIL: Mauve build
Running
/root/downloads/gcc-4_2-branch/libjava/testsuite/libjava.special/ special.exp ...
Running
/root/downloads/gcc-4_2-branch/libjava/testsuite/libjava.verify/ verify.exp ...


=== libjava Summary ===

# of expected  passes             7007
# of unexpected failures         1
# of expected  failures          12
# of  untested testcases         8
make[4]:  [check-DEJAGNU] Error 1 (ignored)


Only ONE error due to: "make[5]: *** No rule to make target
`classes.stamp'." After fixing the README instructions, and then following them, I was able
to compile the Java examples.



---


All the libmudflap tests _seem_ to pass but when you look at the .log file:


PASS: libmudflap.c/pass52-frag.c (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/i686-pc-linux-gnu/./ libstdc++-v3/src/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/./l
ibmudflap/.libs:.:/opt/gcc-4_2-build/gcc:/opt/gcc-4_2-build/i686-pc- linux-gnu/
./libstdc++-v3/src/.libs:/opt/gcc-4_2-build/i686-pc-li
nux-gnu/./libmudflap/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/ libstdc++-v3/.libs:/opt/gcc-4_2-build/
i686-pc-linux-gnu/libmudflap/.libs:/opt/gcc-4_2-build/i686-pc-linux- gnu/libssp
/.libs:/opt/gcc-4_2-build/i686-pc-linux-gnu/libgomp/.libs:/opt/ gcc-4_2-build/.
/gcc:/opt/gcc-4_2-build/./prev-gcc
hello world
yehello world
yePASS: libmudflap.c/pass52-frag.c execution test
Executing on host: /opt/gcc-4_2-build/gcc/xgcc -B/opt/gcc-4_2-build/ gcc/
-ggdb3 -DDEBUG_ASSERT -I/root/downloads/gcc-4_2-branch/libmudflap/ testsuite
-I/root/downloads/gcc-4_2-branch/libmudflap/testsuite/.. -I..
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libmudflap/.libs
/root/downloads/gcc-4_2-branch/libmudflap/testsuite/libmudflap.c/ pass52-frag.c -fmudflap -lmudflap
-L/opt/gcc-4_2-build/i686-pc-linux-gnu/./libmudflap/testsuite -ldl -lm -o
./pass52-frag.exe (timeout = 300)



Are the .log statistic checking scripts supposed to read stuff like "yePASS:" and thems shalt know that ye passed.

---

I already filed a bug report about the libstdc for 4.2.0 which (mostly)
applies to the results above.


--- EOF ---








Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]