Commit 9009be85 by Rainer Orth Committed by Rainer Orth

20100423-2_0.c: Include <stdio.h>.

	* gcc.dg/lto/20100423-2_0.c: Include <stdio.h>.
	(size_t, stderr): Remove.
	(read_error): Replaced __builtin_fprintf by fprintf.

From-SVN: r159146
parent d42ba3b8
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> 2010-05-07 Shujing Zhao <pearly.zhao@oracle.com>
* gcc.dg/ordered-comparison-1.c: New test. * gcc.dg/ordered-comparison-1.c: New test.
......
/* { dg-lto-do link } */ /* { dg-lto-do link } */
/* { dg-lto-options {{-O2 -flto} {-O2 -fwhopr} {-O3 -flto} {-O3 -fwhopr}} } */ /* { dg-lto-options {{-O2 -flto} {-O2 -fwhopr} {-O3 -flto} {-O3 -fwhopr}} } */
typedef unsigned int size_t; #include <stdio.h>
extern struct _IO_FILE *stderr;
typedef unsigned char uch; typedef unsigned char uch;
extern uch inbuf[]; extern uch inbuf[];
unsigned insize; unsigned insize;
...@@ -20,6 +20,6 @@ int fill_inbuf(int eof_ok) ...@@ -20,6 +20,6 @@ int fill_inbuf(int eof_ok)
} }
void read_error(void) void read_error(void)
{ {
__builtin_fprintf(stderr, "\n%s: ", progname); fprintf(stderr, "\n%s: ", progname);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment