OSDN Git Service

2010-04-23 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Apr 2010 15:32:22 +0000 (15:32 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:35:17 +0000 (14:35 +0900)
PR lto/41734
* gcc.dg/lto/20100423-2_0.c: New testcase.
* gcc.dg/lto/20100423-2_0.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158670 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/20100423-2_0.c

index 179dd98..d0723cb 100644 (file)
@@ -1,5 +1,11 @@
 2010-04-23  Richard Guenther  <rguenther@suse.de>
 
+       PR lto/41734
+       * gcc.dg/lto/20100423-2_0.c: New testcase.
+       * gcc.dg/lto/20100423-2_0.c: Likewise.
+
+2010-04-23  Richard Guenther  <rguenther@suse.de>
+
        PR lto/43455
        * gcc.dg/lto/20100423-1_0.c: New testcase.
        * gcc.dg/lto/20100423-1_1.c: Likewise.
index 791b1ba..4f98da4 100644 (file)
@@ -1,8 +1,8 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options {{-O2 -flto} {-O2 -fwhopr} {-O3 -flto} {-O3 -fwhopr}} } */
 
-#include <stdio.h>
-
+typedef unsigned int size_t;
+extern struct _IO_FILE *stderr;
 typedef unsigned char uch;
 extern uch inbuf[];
 unsigned insize;
@@ -20,6 +20,6 @@ int fill_inbuf(int eof_ok)
 }
 void read_error(void)
 {
-  fprintf(stderr, "\n%s: ", progname);
+  __builtin_fprintf(stderr, "\n%s: ", progname);
 }