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


> 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?

Yes.

> 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?

There is a PR: rtl-optimization/31500.

It was my understanding that there's a problem xfailing tests that
ICE.  I may have misunderstood the details of that discussion, but
that's why I chose to skip the test.  In this case, we probably
get all the expected warnings before the ICE.

I'll see if XFAILing works.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


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