[REPOST] Fix expand_libcall_block ICEs
Theodore Papadopoulo
Theodore.Papadopoulo@sophia.inria.fr
Wed Apr 26 09:29:00 GMT 2000
>
> I've gotten no feedback on this patch, so I still have not
> installed the change yet.
>
> The gist of the matter is that the reg_mentioned_p call takes
> the PATTERN of an rtx which is potentially not of rtx class 'i',
> and in the particular case I caught, it was of type NOTE. This
> bug prevents full bootstraps on Sparc right now.
>
I can add the results of the test-suite after full bootstrap with
this patch installed, if that can help....
Native configuration is sparc-sun-solaris2.6
=== libio tests ===
Running target unix
FAIL: tFile.cc execution
FAIL: tFile.cc execution -b0
FAIL: tFile.cc execution -b3
FAIL: tfformat.c execution
=== libio Summary ===
# of expected passes 33
# of unexpected failures 4
# of expected failures 4
=== libstdc++ tests ===
Running target unix
=== libstdc++ Summary ===
# of expected passes 30
=== gcc tests ===
Running target unix
FAIL: gcc.c-torture/compile/20000405-3.c, -O0
FAIL: gcc.c-torture/compile/20000405-3.c, -O1
FAIL: gcc.c-torture/compile/20000405-3.c, -O2
FAIL: gcc.c-torture/compile/20000405-3.c, -O3 -fomit-frame-pointer
FAIL: gcc.c-torture/compile/20000405-3.c, -O3 -g
FAIL: gcc.c-torture/compile/20000405-3.c, -Os
FAIL: gcc.c-torture/execute/20000225-1.c execution, -O2
FAIL: gcc.c-torture/execute/20000225-1.c execution, -O3 -fomit-frame-pointer
FAIL: gcc.c-torture/execute/20000225-1.c execution, -O3 -fomit-frame-pointer -funroll-loops
FAIL: gcc.c-torture/execute/20000225-1.c execution, -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions
FAIL: gcc.c-torture/execute/20000225-1.c execution, -O3 -g
FAIL: gcc.c-torture/execute/20000225-1.c execution, -Os
FAIL: gcc.c-torture/execute/20000412-2.c execution, -O2
FAIL: gcc.c-torture/execute/20000412-2.c execution, -O3 -fomit-frame-pointer
FAIL: gcc.c-torture/execute/20000412-2.c execution, -O3 -g
FAIL: gcc.c-torture/execute/20000412-2.c execution, -Os
FAIL: gcc.c-torture/execute/990324-1.c execution, -O3 -fomit-frame-pointer
FAIL: gcc.c-torture/execute/990324-1.c execution, -O3 -g
FAIL: gcc.c-torture/execute/991221-1.c execution, -O1
FAIL: gcc.c-torture/execute/991221-1.c execution, -O2
FAIL: gcc.c-torture/execute/991221-1.c execution, -O3 -fomit-frame-pointer
FAIL: gcc.c-torture/execute/991221-1.c execution, -O3 -g
FAIL: gcc.c-torture/execute/991221-1.c execution, -Os
FAIL: gcc.c-torture/execute/va-arg-12.c execution, -O1
FAIL: gcc.c-torture/execute/va-arg-15.c execution, -O1
FAIL: gcc.c-torture/execute/va-arg-15.c execution, -O2
FAIL: gcc.c-torture/execute/va-arg-15.c execution, -O3 -fomit-frame-pointer
FAIL: gcc.c-torture/execute/va-arg-15.c execution, -O3 -fomit-frame-pointer -funroll-loops
FAIL: gcc.c-torture/execute/va-arg-15.c execution, -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions
FAIL: gcc.c-torture/execute/va-arg-15.c execution, -O3 -g
FAIL: gcc.c-torture/execute/va-arg-15.c execution, -Os
FAIL: gcc.c-torture/execute/va-arg-16.c execution, -O1
FAIL: gcc.c-torture/execute/va-arg-20.c execution, -O1
FAIL: gcc.c-torture/execute/va-arg-20.c execution, -O2
FAIL: gcc.c-torture/execute/va-arg-20.c execution, -Os
FAIL: gcc.dg/compare2.c case 10 (test for bogus messages, line 29)
FAIL: gcc.dg/compare2.c case 12 (test for bogus messages, line 33)
FAIL: gcc.dg/cpp-if2.c wide charconst recognition (test for bogus messages, line 9)
FAIL: gcc.dg/noreturn-1.c this function should not get any warnings (test for bogus messages, line 50)
FAIL: gcc.dg/noreturn-1.c detect return from tail call (test for warnings, line 57)
FAIL: gcc.dg/ultrasp1.c (test for excess errors)
=== gcc Summary ===
# of expected passes 9756
# of unexpected failures 41
# of expected failures 31
# of unsupported tests 31
/1/egcs/egcs-solaris/gcc/xgcc version 2.96 20000426 (experimental)
=== g++ tests ===
Running target unix
FAIL: g++.oliva/template7.C caused compiler crash
FAIL: g++.other/vaarg3.C promote (test for errors, line 26)
=== g++ Summary ===
# of expected passes 5825
# of unexpected failures 2
# of expected failures 92
# of untested testcases 16
/1/egcs/egcs-solaris/gcc/testsuite/../g++ version 2.96 20000426 (experimental)
=== g77 tests ===
Running target unix
FAIL: g77.f-torture/execute/19990325-0.f compilation, -O0
FAIL: g77.f-torture/execute/19990325-0.f compilation, -O1
FAIL: g77.f-torture/execute/19990325-0.f compilation, -O2
FAIL: g77.f-torture/execute/19990325-0.f compilation, -O2 -fomit-frame-pointer -finline-functions
FAIL: g77.f-torture/execute/19990325-0.f compilation, -Os
FAIL: g77.f-torture/execute/19990325-1.f compilation, -O0
FAIL: g77.f-torture/execute/19990325-1.f compilation, -O1
FAIL: g77.f-torture/execute/19990325-1.f compilation, -O2
FAIL: g77.f-torture/execute/19990325-1.f compilation, -O2 -fomit-frame-pointer -finline-functions
FAIL: g77.f-torture/execute/19990325-1.f compilation, -Os
FAIL: g77.f-torture/execute/u77-test.f execution, -O0
FAIL: g77.f-torture/execute/u77-test.f execution, -O1
FAIL: g77.f-torture/execute/u77-test.f execution, -O2
FAIL: g77.f-torture/execute/u77-test.f execution, -O2 -fomit-frame-pointer -finline-functions
FAIL: g77.f-torture/execute/u77-test.f execution, -O2 -fomit-frame-pointer -finline-functions -funroll-loops
FAIL: g77.f-torture/execute/u77-test.f execution, -O2 -fomit-frame-pointer -finline-functions -funroll-all-loops
FAIL: g77.f-torture/execute/u77-test.f execution, -Os
=== g77 Summary ===
# of expected passes 642
# of unexpected failures 17
# of untested testcases 10
=== objc tests ===
Running target unix
FAIL: objc/execute/bf-1.m compilation, -O
FAIL: objc/execute/bf-10.m compilation, -O
FAIL: objc/execute/bf-11.m compilation, -O
FAIL: objc/execute/bf-12.m compilation, -O
FAIL: objc/execute/bf-13.m compilation, -O
FAIL: objc/execute/bf-14.m compilation, -O
FAIL: objc/execute/bf-15.m compilation, -O
FAIL: objc/execute/bf-16.m compilation, -O
FAIL: objc/execute/bf-17.m compilation, -O
FAIL: objc/execute/bf-18.m compilation, -O
FAIL: objc/execute/bf-19.m compilation, -O
FAIL: objc/execute/bf-2.m compilation, -O
FAIL: objc/execute/bf-20.m compilation, -O
FAIL: objc/execute/bf-3.m compilation, -O
FAIL: objc/execute/bf-4.m compilation, -O
FAIL: objc/execute/bf-5.m compilation, -O
FAIL: objc/execute/bf-6.m compilation, -O
FAIL: objc/execute/bf-7.m compilation, -O
FAIL: objc/execute/bf-8.m compilation, -O
FAIL: objc/execute/bf-9.m compilation, -O
=== objc Summary ===
# of unexpected failures 20
# of untested testcases 20
/1/egcs/egcs-solaris/gcc/xgcc version 2.96 20000426 (experimental)
Compiler version: 2.96 20000426 (experimental)
Platform: sparc-sun-solaris2.6
configure flags: --with-gcc-version-trigger=/1/egcs/egcs/gcc/version.c --host=sparc-sun-solaris2.6 --srcdir=../egcs --prefix=/net/home/robotvis/gnu/egcs --enable-threads=posix --with-gnu-as --with-gnu-ld --with-as=/net/home/robotvis/gnu/binutils/bin/as --with-ld=/net/home/robotvis/gnu/binutils/bin/ld --norecursion
Counting all warnings,
there are 150 warnings in stage3 of this bootstrap.
Number of warnings per file:
26 ../../egcs/gcc/combine.c
14 ../../../egcs/gcc/f/global.c
10 ../../../egcs/gcc/f/storag.c
9 ../../egcs/gcc/expr.c
8 ../../../egcs/gcc/f/lex.c
8 ../../../egcs/gcc/f/equiv.c
6 ../../egcs/gcc/cse.c
6 ../../../egcs/gcc/f/expr.c
4 cxxmain.c
4 ../../egcs/gcc/config/sparc/sparc.c
4 ../../../egcs/gcc/f/ste.c
3 ../../egcs/gcc/cpplex.c
3 ../../../egcs/gcc/cp/pt.c
2 str-ot.j
2 str-1t.j
2 ../../egcs/gcc/simplify-rtx.c
2 ../../egcs/gcc/reload1.c
2 ../../egcs/gcc/regrename.c
2 ../../egcs/gcc/regmove.c
2 ../../egcs/gcc/predict.c
2 ../../egcs/gcc/function.c
2 ../../egcs/gcc/fold-const.c
2 ../../egcs/gcc/calls.c
2 ../../egcs/gcc/alias.c
2 ../../../egcs/gcc/f/symbol.c
2 ../../../egcs/gcc/f/std.c
2 ../../../egcs/gcc/f/com.c
2 ../../../egcs/gcc/f/bad.c
1 str-op.j
1 str-nq.j
1 str-io.j
1 str-fo.j
1 str-2t.j
1 ./parse.y
1 ../../egcs/gcc/loop.c
1 ../../egcs/gcc/gcse.c
1 ../../egcs/gcc/expmed.c
1 ../../egcs/gcc/dwarf2out.c
1 ../../../egcs/gcc/java/jcf-write.c
1 ../../../egcs/gcc/java/javaop.def
1 ../../../egcs/gcc/cp/class.c
1 ../../../egcs/gcc/cp/cfns.h
1 ../../../egcs/gcc/ch/grant.c
Number of warning types:
52 comparison between signed and unsigned
52 Use of ANSI string concatenation
14 \`long' switch expression not converted to \`int' in ANSI C
12 signed and unsigned type in conditional expression
10 \`???' might be used uninitialized in this function
4 subscript has type \`char'
2 trigraph ??/ ignored
1 trigraph ??= ignored
1 assignment discards qualifiers from pointer target type
1 \`???' declared \`static' but never defined
1 ??? format, ??? arg (arg ???)
--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
--------------------------------------------------------------------
More information about the Gcc-patches
mailing list