http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48615
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot |jvdelisle at gcc dot |gnu.org |gnu.org --- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-04-23 16:32:16 UTC --- Created attachment 24082 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24082 Preliminary patch Here is just a experimental patch. Yes we could do some things in output float. I will think a bit on that. The patch also has adjustments to default widths. The default widths require quite a few test suite adjustments, which I have in my tree and will post later to pr48488. I believe the intent of this code block in write_float was to reduce the number of digits converted in the later snprintf calls as a simple optimization.