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]

Segmentation fault (core dumped) in little program


Hi

This little program compiled with gcc version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release), crashes when executed. 

#include <string>

main()
{
  string s(0);
}

Any idea?

Thanks

Gustavo

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