Plan for bug-fixing g77-3.1.
Toon Moene
moene@knmi.nl
Tue Jan 29 11:33:00 GMT 2002
[ 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
More information about the Gcc
mailing list