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 on hppa*-*-*
- From: Mark Mitchell <mark at codesourcery dot com>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 15 Apr 2007 11:04:04 -0700
- Subject: Re: [committed] Skip gcc.dg/Warray-bounds.c and g++.dg/warn/Warray-bounds.C on hppa*-*-*
- References: <200704150127.l3F1R0ta001226@hiauly1.hia.nrc.ca>
John David Anglin wrote:
> The enclosed patch skips these two tests on hppa*-*-*. The tests
> contain invalid code for testing warnings. Because an out-of-bounds
> array access has an anti-dependence with a prologue memory location,
> both tests ICE on all 32-bit hppa targets.
>
> Tested on hppa-unknown-linux-gnu. Committed to trunk.
These are compile-time tests. So, if they're causing the compiler to
crash, isn't that a bug?
If that's correct, the tests should be XFAILed on hppa*-*-* and a PR
created. Skipping should be restricted to those tests that do not make
sense on a particular target. Am I misunderstanding the situation?
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713