This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/11606] New: testcases gcc.dg/pack-test-1.c, gcc.dg/pack-test-2.c fail
- From: "dank at kegel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jul 2003 16:34:35 -0000
- Subject: [Bug target/11606] New: testcases gcc.dg/pack-test-1.c, gcc.dg/pack-test-2.c fail
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11606
Summary: testcases gcc.dg/pack-test-1.c, gcc.dg/pack-test-2.c
fail
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dank at kegel dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sh4-*-linux-gnu
I built an x86 -> sh4 crosscompiler using http://kegel.com/crosstool
and either gcc-3.3 or gcc-ss-3_3-20030714, and am seeing
the following testsuite failures.
The "size of array foo is negative" errors are what worry me.
FAIL: gcc.dg/pack-test-1.c (test for excess errors)
Excess errors:
...
/crosstool-0.14/build/sh4-unknown-linux-gnu/gcc-ss-3_3-20030714-glibc-2.2.5/gcc-ss-3_3-20030714/gcc/testsuite/gcc.dg/pack-test-1.c:44:
error: size of array `test_0' is negative
/crosstool-0.14/build/sh4-unknown-linux-gnu/gcc-ss-3_3-20030714-glibc-2.2.5/gcc-ss-3_3-20030714/gcc/testsuite/gcc.dg/pack-test-1.c:45:
error: size of array `test_1' is negative
/crosstool-0.14/build/sh4-unknown-linux-gnu/gcc-ss-3_3-20030714-glibc-2.2.5/gcc-ss-3_3-20030714/gcc/testsuite/gcc.dg/pack-test-1.c:51:
warning: #pragma pack(push[, id], <n>) is not supported on this target
...
FAIL: gcc.dg/pack-test-2.c (test for errors, line 7)
FAIL: gcc.dg/pack-test-2.c (test for errors, line 14)
FAIL: gcc.dg/pack-test-2.c (test for errors, line 19)
FAIL: gcc.dg/pack-test-2.c (test for excess errors)
Excess errors:
/crosstool-0.14/build/sh4-unknown-linux-gnu/gcc-ss-3_3-20030714-glibc-2.2.5/gcc-ss-3_3-20030714/gcc/testsuite/gcc.dg/pack-test-2.c:7:
warning: #pragma pack(pop[, id], <n>) is not supported on this target
...