This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: PR21982


On Thu, Jun 09, 2005 at 04:11:26PM -0400, Andrew Pinski wrote:

> And the return value of printf is ignored too, which most people forget 
> about.
> 
Yes, but that's not important.  We only merge built-ins that
discard their return value.

So far, the only real issues seem to be with printf.
merge_builtins will need to analyze the format strings and
arguments.

We may also need to block merging if we find a statement writing
into global storage, but that seems too conservative.


Diego.


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