[Bug rtl-optimization/45962] New: [4.6 Regression]: many c/c++ failures on cris-elf, in r165236:165242
hp at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 11 03:26:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45962
Summary: [4.6 Regression]: many c/c++ failures on cris-elf, in
r165236:165242
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, wrong-code
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: hp@gcc.gnu.org
CC: rth@gcc.gnu.org
Host: x86_64-unknown-linux-gnu
Target: cris-axis-elf
Created attachment 22013
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22013
Preprocessed gcc.dg-struct-layout-1//t001_x.c. Run cc1 -w -quiet
-fpreprocessed t001_x.i
With revision 165236 these tests passed.
>From revision 165242 and on, these tests have failed as follows (cutnpasted,
bad wrapping):
Running
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.c-torture/execute/execute.exp ...
FAIL: gcc.c-torture/execute/20060420-1.c execution, -O1
FAIL: gcc.c-torture/execute/20060420-1.c execution, -O2
FAIL: gcc.c-torture/execute/20060420-1.c execution, -O3 -fomit-frame-pointer
FAIL: gcc.c-torture/execute/20060420-1.c execution, -O3 -fomit-frame-pointer
-funroll-loops
FAIL: gcc.c-torture/execute/20060420-1.c execution, -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions
FAIL: gcc.c-torture/execute/20060420-1.c execution, -O3 -g
FAIL: gcc.c-torture/execute/20060420-1.c execution, -Os
FAIL: gcc.c-torture/execute/20060420-1.c execution, -O2 -flto
FAIL: gcc.c-torture/execute/20060420-1.c execution, -O2 -fwhopr
... (non-regressions elided)
FAIL: gcc.c-torture/execute/simd-5.c execution, -O0
... (non-regressions elided)
Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/compat/compat.exp ...
FAIL: gcc.dg/compat/vector-1 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
Running
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/compat/struct-layout-1.exp ...
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)
FAIL: 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-c_compat_y_tst.o
execute
FAIL: 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-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)
FAIL: 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-c_compat_y_tst.o
execute
FAIL: 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-c_compat_y_tst.o
execute
FAIL: 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-c_compat_y_tst.o
execute
FAIL: 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-c_compat_y_tst.o
execute
FAIL: 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-c_compat_y_tst.o
execute
FAIL: 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-c_compat_y_tst.o
execute
FAIL: 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-c_compat_y_tst.o
execute
FAIL: 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-c_compat_y_tst.o
execute
FAIL: 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)
FAIL: 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-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)
FAIL: tmpdir-gcc.dg-struct-layout-1/t028 c_compat_x_tst.o-c_compat_y_tst.o
execute
... (non-regressions elided)
Running
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/torture/stackalign/stackalign.exp
...
FAIL: gcc.dg/torture/stackalign/nested-1.c -O0 execution test
FAIL: gcc.dg/torture/stackalign/nested-2.c -O0 execution test
FAIL: gcc.dg/torture/stackalign/nested-2.c -O1 execution test
FAIL: gcc.dg/torture/stackalign/nested-2.c -O2 execution test
FAIL: gcc.dg/torture/stackalign/nested-2.c -Os execution test
FAIL: gcc.dg/torture/stackalign/nested-2.c -O2 -flto execution test
FAIL: gcc.dg/torture/stackalign/nested-2.c -O2 -fwhopr execution test
FAIL: gcc.dg/torture/stackalign/nested-3.c -O0 execution test
FAIL: gcc.dg/torture/stackalign/nested-3.c -O1 execution test
FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 execution test
FAIL: gcc.dg/torture/stackalign/nested-3.c -Os execution test
FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -flto execution test
FAIL: gcc.dg/torture/stackalign/nested-3.c -O2 -fwhopr execution test
With the messages in the logfile being:
PASS: gcc.c-torture/execute/20060420-1.c compilation, -O1
program stopped with signal 6.^M
FAIL: gcc.c-torture/execute/20060420-1.c execution, -O1
...
PASS: gcc.c-torture/execute/simd-5.c compilation, -O0
program stopped with signal 6.^M
FAIL: gcc.c-torture/execute/simd-5.c execution, -O0
...
PASS: gcc.dg/compat/vector-1 c_compat_x_tst.o-c_compat_y_tst.o link
core: 4 byte misaligned write to address 0x68676665 at 0xeb0^M
program stopped with signal 10.^M
...
Executing on host: /tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/xgcc
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/ -w -I/tmp\
/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/compat -Wno-abi -DSKIP_DECIMAL_FLOAT
-DSKIP_DECIMAL_FLOAT -c -isystem /tmp/\
hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib/targ-include -isystem
/tmp/hpautotest-gcc1/gcc/newlib/libc/include -\
o c_compat_x_tst.o
/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t001_x.c
(timeout \
= 300)
In file included from
/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t001_x.c:9:0:^M
/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t001_test.h:
In function 'test85':^M
/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t001_test.h:86:1:
internal compiler erro\
r: Segmentation fault^M
...
PASS: tmpdir-gcc.dg-struct-layout-1/t002 c_compat_x_tst.o-c_compat_y_tst.o link
core: 4 byte misaligned read to address 0x871fd41f at 0x5500^M
program stopped with signal 10.^M
FAIL: tmpdir-gcc.dg-struct-layout-1/t002 c_compat_x_tst.o-c_compat_y_tst.o
execute
other messages similar.
Author of patches in suspect revision range CC:ed.
(I'll provide basic analysis for the execution failures if fixing the
compilation SEGV's don't fix them too.)
More information about the Gcc-bugs
mailing list