When compiled with -O2 and gcc 4.0.2 or 4.1.0 on x86_64, lam_int_pos()
returns the incorrect result. This breaks MPI_Attr_get() when called
from Fortran (and was detected in the 7.1.2 test suite by attrsetget_f).
I've filed a bug with gcc here
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27744>, but in the meantime
I've just hacked lam_int_pos() to return 0, which is the correct result
on x86_64. I haven't tested with other versions of gcc, but suspect
this may have come in with 4.0.
--
Orion Poplawski
System Administrator 303-415-9701 x222
Colorado Research Associates/NWRA FAX: 303-415-9702
3380 Mitchell Lane, Boulder CO 80301 http://www.co-ra.com
|