This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite] XFAIL for dg-debug testsuite
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.
r~