[testsuite] XFAIL for dg-debug testsuite
John David Anglin
dave@hiauly1.hia.nrc.ca
Tue Dec 16 20:47:00 GMT 2003
> On Tue, Dec 16, 2003 at 08:59:36AM +0100, Eric Botcazou wrote:
> > > We can fix this if we make sure that we have at least one other
> > > instruction. One way to do that is to modify the testcase so that p is
> > > a global instead of a parameter. We thus need a load instruction. The
> > > other optimizations all occur as before, the block is optimized into a
> > > conditional move. Except this time the testcase works because the load
> > > is left in the body, and we get the debug info for the sparc.
> > >
> > > If this is undesirable for some reason, then the testsuite patch you
> > > proposed is OK.
> >
> > I think our policy is not to tweak testcases. That said, if Richard wants to
> > make an exception (or let me replace them by debug-[78].c), I think this
> > would be more elegant than once again hacking the testsuite driver.
>
> The solution sounds ok. I myself don't care about replace vs modify.
I'm all for fixing/replacing these tests. At certain optimizations
levels, they also fail on all PA-RISC ports. I had a hack to the driver
to XFAIL them but was too ashamed to submit it.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
More information about the Gcc-patches
mailing list