This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21982] GCC should combine adjacent stdio calls
- From: "dnovillo at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2005 13:56:07 -0000
- Subject: [Bug tree-optimization/21982] GCC should combine adjacent stdio calls
- References: <20050609125653.21982.ghazi@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dnovillo at redhat dot com 2005-06-10 13:56 -------
Subject: Re: GCC should combine adjacent stdio calls
On Fri, Jun 10, 2005 at 01:49:54PM -0000, joseph at codesourcery dot com wrote:
> Not that I really see the benefit of printf merging in any case; without
> statistics showing its effects on real code it seems any size benefit
> could easily be wiped out by inhibiting the sharing of strings used in
> more than one printf because instead they get merged with the adjacent
> different strings.
>
This is a good point. Kaveh, do you think you'd have time to do
some timings on things like GCC bootstraps or other code bases
that use stdio extensively?
Diego.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21982