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 middle-end/21988] GCC should transform printf("%s",foo) and printf("foo") into fputs(foo,stdout)


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-09 18:15 -------
Confirmed, and yes we need to do something about stdout :).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|tree-optimization           |middle-end
     Ever Confirmed|                            |1
           Keywords|                            |missed-optimization
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-09 18:15:19
               date|                            |
            Summary|GCC should optimize         |GCC should transform
                   |printf("%s",foo) and        |printf("%s",foo) and
                   |printf("foo") into          |printf("foo") into
                   |fputs(foo,stdout)           |fputs(foo,stdout)


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


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