(size_t, stderr): Remove.
(read_error): Replaced __builtin_fprintf by fprintf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159146
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * gcc.dg/lto/20100423-2_0.c: Include <stdio.h>.
+ (size_t, stderr): Remove.
+ (read_error): Replaced __builtin_fprintf by fprintf.
+
2010-05-07 Shujing Zhao <pearly.zhao@oracle.com>
* gcc.dg/ordered-comparison-1.c: New test.
/* { dg-lto-do link } */
/* { dg-lto-options {{-O2 -flto} {-O2 -fwhopr} {-O3 -flto} {-O3 -fwhopr}} } */
-typedef unsigned int size_t;
-extern struct _IO_FILE *stderr;
+#include <stdio.h>
+
typedef unsigned char uch;
extern uch inbuf[];
unsigned insize;
}
void read_error(void)
{
- __builtin_fprintf(stderr, "\n%s: ", progname);
+ fprintf(stderr, "\n%s: ", progname);
}