This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: HPUX testsuite tweakage
> From: Zack Weinberg <zack@codesourcery.com>
>
> "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:
>
> > Bad news, the testsuite harness caches the result across passes. So
> > the cached result of dg-require-named-sections depends on whether I
> > run the -32 pass first or not, with obvious bad results either way for
> > such testsuite entries.
> >
> > Would you please insert an explanatory comment and avoid caching the
> > result? There's only a couple of such tests anyway so it's not a
> > critical optimization in the testsuite.
>
> Ok. Would you check see if any of the other check_*_available
> functions are caching results when they shouldn't be?
> zw
Thanks, your installed patch works fine WRT named sections and irix6
o32.
I looked at the rest of the check_*_available procedures in
testsuite/lib/target-supports.exp. If they cache, I believe irix6
returns the same answer for all ABIs. So there's no other caching
problem in the testsuite that I can see.
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu