[bind] mem_fn_eq_test test failure with VC9 in release builds

When running the Trunk regression tests using VC9SP1 and building in release mode, the bind/mem_fn_eq_test test fails. Results available @ http://tinyurl.com/6nfm9m. The same test passes when the tests are run in the default debug mode. Thanks, Richard Webb

Richard Webb:
When running the Trunk regression tests using VC9SP1 and building in release mode, the bind/mem_fn_eq_test test fails. Results available @ http://tinyurl.com/6nfm9m. The same test passes when the tests are run in the default debug mode.
This is a known issue. The /OPT:ICF linker option can figure out that the member functions are identical and fold them into one, and the != test then fails. This behavior is non-conforming, but useful. I see that we have markup for this failure, but it's msvc-7.1 specific for some reason.
participants (2)
-
Peter Dimov
-
Richard Webb