This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [committed] Skip gcc.dg/Warray-bounds.c and g++.dg/warn/Warray-bounds.C
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: mark at codesourcery dot com (Mark Mitchell)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 16 Apr 2007 12:30:16 -0400 (EDT)
- Subject: Re: [committed] Skip gcc.dg/Warray-bounds.c and g++.dg/warn/Warray-bounds.C
> If it doesn't work, it would be good to see if we can fix that: it
> should be possible to explicitly an XFAIL an ICE, just as it is any
> other bug.
The following doesn't work:
Index: gcc.dg/Warray-bounds.c
===================================================================
--- gcc.dg/Warray-bounds.c (revision 123853)
+++ gcc.dg/Warray-bounds.c (working copy)
@@ -1,5 +1,4 @@
-/* { dg-do compile } */
-/* { dg-skip-if "PR 31500" { hppa*-*-* } { "*" } { "" } } */
+/* { dg-do compile { xfail { hppa*-*-* && { ! hppa*64*-*-* } } } } */
/* { dg-options "-O2 -Warray-bounds" } */
int a[10];
I see in the log file:
...
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds.c:93: error: Attempt to del
ete prologue/epilogue insn:
(insn/f 276 275 277 2 (set (mem:SI (plus:SI (reg/f:SI 30 %r30)
(const_int -100 [0xffffff9c])) [0 S4 A32])
(reg:SI 4 %r4)) -1 (nil)
(nil))
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds.c:93: internal compiler error: in propagate_one_insn, at flow.c:1735
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
FAIL: gcc.dg/Warray-bounds.c (internal compiler error)
PASS: gcc.dg/Warray-bounds.c (test for warnings, line 21)
...
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)