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",
rds,
Balamurugan R
--
View this message in context:
http://gcc.1065356.n5.nabble.com/Reg-Deletion-of-char-ptr-resulting-in-segmentation-fault-Double-to-string-convertion-tp1022435.html
Sent from the gcc - bugs mailing list archive at Nabble.com.