I just tried this with the latest CVS with libstdc++-v3.
This program should terminate on reading EOF, but it doesn't:
(Note that with gcc-2.95.2 and libstdc++v2 it would work)
#include <iostream>
using std::cin;
using std::cout;
main () {
while (cin) {
double x;
cin >> x;
cout << x;
}
}