This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Analysis of g++.dg/bprob/g++-bprob-1.C multilib failures
> From: Janis Johnson <janis187@us.ibm.com>
> >
> > make RUNTESTFLAGS="--target_board 'unix{-fPIC,-fpic,}'" check-gcc-c++
> >
> > see if that triggers it for you.
>
> Yes, that did it.
>
> This patch fixes the C++ bprob tests when running the C++ test suite
> with multiple sets of options. Those tests were using a global variable
> that was also used in other tests, but this change affects only the
> outcome of the bprob tests. Tested with the gcc-20021202 snapshot with
> and without the patch on i686-pc-linux-gnu with
> make RUNTESTFLAGS="--target_board 'unix{-fPIC,-fpic,}'" check-c++
>
> I won't have CVS access for the next few days, so if this looks OK
> please check it in.
>
> 2002-12-30 Janis Johnson <janis187@us.ibm.com>
>
> * lib/profopt.exp: Change the name of a global variable to avoid
> possible clashes with other test suites.
Yup that patch cured it for me.
Tested on mips-sgi-irix6.5 with 3 testsuite passes, g++ bprob works.
I'll check it in to 3.3 and 3.4 on your behalf.
Thanks very much!
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu