Re: Reg: Deletion of char ptr resulting in segmentation fault - Double to string convertion

2014-03-29 Thread Tobias Burnus
Questions not related to GCC should be written to gcc-help@ - and not to gcc-bugs@. While bugs should be submitted via Bugzilla. emailstorbala wrote: double num = 23e45; buffer = new char[sizeof(double) + 1]; Here you allocate 9 bytes. sprintf(buffer, "%lf",

Re: (g77) internal compiler error: Segmentation fault

2007-05-26 Thread Tobias Burnus
Hi, >> Hmm, I see your g77 is 2002 vintage. I have a 3.4 version. Still, >> I would recommend that you upgrade to a newer compiler, preferably >> gfortran. >> > I'll try to do that! > Note that openSUSE 10.2 comes with gfortran 4.1.x thus you can simply install it via YaST2. If you want t