This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/21982] GCC should combine adjacent stdio calls


------- Additional Comments From ghazi at gcc dot gnu dot org  2005-06-09 16:55 -------
(In reply to comment #3)
> Subject: Re:  GCC should combine adjacent stdio
>  calls
> Another problem case is if the first format has excess arguments (which is 
> permitted by ISO C) - those arguments must be evaluated but not included 
> in the concatenated argument list.

While it may be legal, our -Wformat option warns about excess arguments and I 
would suggest we don't attempt any optimization unless we pass -Wformat 
cleanly.  So I think this one is surmountable.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21982


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