Path: utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!FINE.PRINCETON.EDU!levy From: levy@FINE.PRINCETON.EDU (Silvio Levy) Newsgroups: gnu.g++.bug Subject: (none) Message-ID: <8902232148.AA10053@fine.Princeton.EDU> Date: 23 Feb 89 21:48:30 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 15 Sorry if you've fixed this already. In g++, version 1.32.0, file stream.cc, the function istream& scan() does not return a value when the initial test (if (readable())) fails. This causes erratic behavior such as a core dump in the following program (with empty standard input): #include main() { int i; cin >> i >> i >> i; } Silvio Levy levy@princeton.edu