This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

3.0.5 breaks basis C++


Hi,

The following basic C++ programme compiles fine
but gives a segmentfault when invoked.

This problem does not occur with  3.0.4

(Here: kernel 2.4.18 SMP, libgcc-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;

}




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]