This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [committed] Skip gcc.dg/Warray-bounds.c and g++.dg/warn/Warray-bounds.C on hppa*-*-*


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]