------- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-04 23:42 ------- I don't think this is a bug at least reading the standard, there is nothing as far as I can see says that in_avail will ever return any but 0 for cin.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24206