This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Plan for bug-fixing g77-3.1.
- From: Toon Moene <moene at knmi dot nl>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 29 Jan 2002 15:59:21 +0000
- Subject: Re: Plan for bug-fixing g77-3.1.
- Organization: Royal Netherlands Meteorological Institute
[ On the problem of finding BIT_SIZE in the intrinsics table ]
I wrote, two days ago:
> "Billinghurst, David (CRTS)" wrote:
>> This doesn't seem to work for me on irix. I am away from the
>> office, but will have a look once I get back.
> Yep, I noted that too
> 14 XFAILs; same as before.
I just tried this on mips-sgi-irix6.5 with some debug printf's in
f/intrin.c and there's something fishy about its `bsearch' function.
If I look at compile/pr3743.f in the Fortran testsuite, the following
happens:
It starts the search at `bitest' in the intrinsics table (f/intrin.def)
- the search then fails. If I force the build to use libiberty's
`bsearch' (by including the source of it in f/intrin.c), the search
starts at `iiqint', which indeed is the middle of the table - the search
succeeds.
Does this indicate a problem with IRIX's bsearch ? I assume a binary
search *has* to start with the middle of the table ...
--
Toon Moene, KNMI, PO Box 201, 3730 AE De Bilt, The Netherlands.
Tel. +31302206443, Fax +31302210407, e-mail moene@knmi.nl
URL: http://www.knmi.nl/hirlam