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

Re: patch to suggest putc/fputs over printf("string") or printf("\n")


Jeffrey A Law <law@hurl.cygnus.com> writes:

> I'm not familiar enough with the issues behind gettext to know why they do
> this.  But it's simply wrong for the compiler to do any tranformations if the
> format string is not a compile time constant.

No, the attributes introduced allow this kind of transformation.  You
admitted that you don't know the details of gettext, so why do you say
it's wrong?

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


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