stream error: segmetation fault

Luis Francisco Gonzalez Hernandez luisgh@rsunx.crn.cogs.susx.ac.uk
Tue Jan 13 10:29:00 GMT 1998


Hi,
I have some code that compiles under g++ 2.7.2.3 but fails with the latest
release of egcs (1.0.1). Running within gdb and doing "bt" produces the
following output:

Program received signal SIGSEGV, Segmentation fault.
0x400ae34e in putc_locked ()
Current language:  auto; currently c
(gdb) bt
#0  0x400ae34e in putc_locked ()
#1  0x40034e90 in endl ()
#2  0x40035dd9 in ostream::operator<< ()
#3  0x804b579 in main (argc=3, argv=0xbffffb08) at ccs.cc:88
(gdb) 

I am sure this has to be something trivial but I fail to see what it is.
Could someone help me?

Thanks,
Luis.



More information about the Gcc-bugs mailing list