> I've checked in a patch to save the _M_n state.

If it is r212496, did you test it?

It breaks many tests (see 
https://gcc.gnu.org/ml/gcc-regression/2014-07/msg00213.html)

/opt/gcc/work/libstdc++-v3/include/ext/random.tcc: In function 
'std::basic_ostream<_CharT, _Traits>& 
__gnu_cxx::operator<<(std::basic_ostream<_CharT, _Traits>&, const 
__gnu_cxx::uniform_on_sphere_distribution<_Dimen, _RealType>&)':
/opt/gcc/work/libstdc++-v3/include/ext/random.tcc:1587:22: error: '_M_n' was 
not declared in this scope
       return __os << _M_n;
                      ^
/opt/gcc/work/libstdc++-v3/include/ext/random.tcc: In function 
'std::basic_istream<_CharT, _Traits>& 
__gnu_cxx::operator>>(std::basic_istream<_CharT, _Traits>&, 
__gnu_cxx::uniform_on_sphere_distribution<_Dimen, _RealType>&)':
/opt/gcc/work/libstdc++-v3/include/ext/random.tcc:1598:22: error: '_M_n' was 
not declared in this scope
       return __is >> _M_n
                      ^

TIA

Dominique

Reply via email to