This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
3.0.5 (CVS) breaks basic C++
- From: jarausch at igpm dot rwth-aachen dot de
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 Apr 2002 16:19:14 +0200 (CEST)
- Subject: 3.0.5 (CVS) breaks basic C++
- Reply-to: jarausch at igpm dot rwth-aachen dot de
Hi,
the tiny test below compiles fine but
gives a segment fault when invoked.
This does not occur with 3.0.4 .
My system: kernel 2.4.18-SMP, gcclib 2.2.5
Thanks for looking into it,
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
Institute of Technology, RWTH Aachen
D 52056 Aachen, Germany
#include <iostream>
using std::cout; using std::endl; using std::cin;
int main() {
int Parm;
cin >> Parm;
cout << Parm << endl;
}