public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/25022]  New: [4.2,4.1,4.0,3.4 regression] failure to transform the unlocked stdio calls
@ 2005-11-24 16:47 ghazi at gcc dot gnu dot org
  2005-11-24 16:51 ` [Bug middle-end/25022] " ghazi at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2005-11-24 16:47 UTC (permalink / raw)
  To: gcc-bugs

Given the following program:

#define _GNU_SOURCE
#include <stdio.h>

int main ()
{
  fputs_unlocked("\n", stdout);
  return 0;
}

GCC fails to turn fputs_unlocked into fputc_unlocked.  This fails in all GCC
versions as of 3.4 through mainline, but works in gcc-3.3 so it's a regression.
 The regular "locked" stdio transformation fputs->fputc works.


-- 
           Summary: [4.2,4.1,4.0,3.4 regression] failure to transform the
                    unlocked stdio calls
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ghazi at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-12-04  1:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-24 16:47 [Bug middle-end/25022] New: [4.2,4.1,4.0,3.4 regression] failure to transform the unlocked stdio calls ghazi at gcc dot gnu dot org
2005-11-24 16:51 ` [Bug middle-end/25022] " ghazi at gcc dot gnu dot org
2005-11-24 16:59 ` [Bug middle-end/25022] [3.4/4.0/4.1/4.2 " pinskia at gcc dot gnu dot org
2005-11-26  1:25 ` ghazi at gcc dot gnu dot org
2005-11-26  1:31 ` ghazi at gcc dot gnu dot org
2005-11-26  3:27 ` [Bug middle-end/25022] [3.4/4.0 " pinskia at gcc dot gnu dot org
2005-11-27 14:47 ` ghazi at gcc dot gnu dot org
2005-12-01 22:45 ` ghazi at gcc dot gnu dot org
2005-12-02 14:05 ` ghazi at gcc dot gnu dot org
2005-12-03 23:32 ` [Bug middle-end/25022] [3.4 " ghazi at gcc dot gnu dot org
2005-12-04  1:37 ` ghazi at gcc dot gnu dot org
2005-12-04  1:54 ` [Bug middle-end/25022] " ghazi at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).